瀏覽代碼

Fix property not shown in inspector when type is PACKED_COLOR_ARRAY

Hendrik Brucker 4 年之前
父節點
當前提交
8dd8630c25
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_properties.cpp

+ 1 - 1
editor/editor_properties.cpp

@@ -3574,7 +3574,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
 		case Variant::PACKED_COLOR_ARRAY: {
 			EditorPropertyArray *editor = memnew(EditorPropertyArray);
 			editor->setup(Variant::PACKED_COLOR_ARRAY);
-
+			return editor;
 		} break;
 		default: {
 		}