mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 18:24:32 +00:00
Use PROPERTY_USAGE_NONE instead of 0 for no property usage
Also use const more often.
This commit is contained in:
@@ -337,7 +337,7 @@ void EditorPropertyArray::update_property() {
|
||||
editor->setup("Object");
|
||||
prop = editor;
|
||||
} else {
|
||||
prop = EditorInspector::instantiate_property_editor(nullptr, value_type, "", subtype_hint, subtype_hint_string, 0);
|
||||
prop = EditorInspector::instantiate_property_editor(nullptr, value_type, "", subtype_hint, subtype_hint_string, PROPERTY_USAGE_NONE);
|
||||
}
|
||||
|
||||
prop->set_object_and_property(object.ptr(), prop_name);
|
||||
|
||||
Reference in New Issue
Block a user