From 122837e73a6c13432665434ab5ec48c621be6fb8 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Mon, 15 Jan 2018 19:43:32 +0100 Subject: PropertyEditor: Add missing MAKE_PROPSELECT. Fixes #15745 --- editor/property_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index 46d52d21d4..87906c5a93 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -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); -- cgit v1.2.3