PropertyEditor: Add missing MAKE_PROPSELECT.

Fixes #15745
This commit is contained in:
Andreas Haas 2018-01-15 19:43:32 +01:00
parent 05b1843818
commit 122837e73a
No known key found for this signature in database
GPG Key ID: B5FFAE1B65FBD2E1
1 changed files with 2 additions and 0 deletions

View File

@ -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);