summaryrefslogtreecommitdiff
path: root/tools/editor/property_selector.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-08-25 17:45:20 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-08-25 17:45:20 -0300
commit9c6175db11ff72603ae58789a462b33ec1e910f8 (patch)
treec7fbb26583b6c7f44b9f8091aa59497900527f08 /tools/editor/property_selector.cpp
parent41a58f7935ecd0c91ae55a5e5b84425aadc51840 (diff)
More visual script work
-Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
Diffstat (limited to 'tools/editor/property_selector.cpp')
-rw-r--r--tools/editor/property_selector.cpp1
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;