Selaa lähdekoodia

Merge pull request #53278 from Geometror/fix-editor-property-array-color

Rémi Verschelde 4 vuotta sitten
vanhempi
commit
df57aa670a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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: {
 		}