Merge pull request #15752 from Hinsbart/propselect
PropertyEditor: Add missing MAKE_PROPSELECT.
This commit is contained in:
commit
089dcc6959
1 changed files with 2 additions and 0 deletions
|
@ -665,6 +665,8 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
|
|||
|
||||
} else if (hint == PROPERTY_HINT_PROPERTY_OF_INSTANCE) {
|
||||
|
||||
MAKE_PROPSELECT
|
||||
|
||||
Object *instance = ObjectDB::get_instance(hint_text.to_int64());
|
||||
if (instance)
|
||||
property_select->select_property_from_instance(instance, v);
|
||||
|
|
Loading…
Reference in a new issue