Use PROPERTY_USAGE_NONE instead of 0 for no property usage
Also use const more often.
This commit is contained in:
parent
382ddd497a
commit
2508fd0533
39 changed files with 126 additions and 126 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue