summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-15 19:51:47 +0100
committerGitHub <noreply@github.com>2018-01-15 19:51:47 +0100
commit089dcc69598d869a4d92af3bff650c7271f9c33e (patch)
tree325d5f33ee4ad5fe763692f3e51e86e281e7ce15
parent05b1843818fd07f084816ec506ec505e24f8f02c (diff)
parent122837e73a6c13432665434ab5ec48c621be6fb8 (diff)
Merge pull request #15752 from Hinsbart/propselect
PropertyEditor: Add missing MAKE_PROPSELECT.
-rw-r--r--editor/property_editor.cpp2
1 files changed, 2 insertions, 0 deletions
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);