diff options
Diffstat (limited to 'tools/editor/property_selector.cpp')
-rw-r--r-- | tools/editor/property_selector.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/property_selector.cpp b/tools/editor/property_selector.cpp index e960a0e0d3..20b72240d9 100644 --- a/tools/editor/property_selector.cpp +++ b/tools/editor/property_selector.cpp @@ -508,6 +508,7 @@ void PropertySelector::select_property_from_base_type(const String& p_base,const void PropertySelector::select_property_from_script(const Ref<Script>& p_script,const String& p_current){ ERR_FAIL_COND( p_script.is_null() ); + base_type=p_script->get_instance_base_type(); selected=p_current; type=Variant::NIL; |