Explorar o código

Fix property not shown in inspector when type is PACKED_COLOR_ARRAY

Hendrik Brucker %!s(int64=4) %!d(string=hai) anos
pai
achega
8dd8630c25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: {
 		}