1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

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

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) { } else if (hint == PROPERTY_HINT_PROPERTY_OF_INSTANCE) {
MAKE_PROPSELECT
Object *instance = ObjectDB::get_instance(hint_text.to_int64()); Object *instance = ObjectDB::get_instance(hint_text.to_int64());
if (instance) if (instance)
property_select->select_property_from_instance(instance, v); property_select->select_property_from_instance(instance, v);