diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-01 20:04:17 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-01 20:04:17 -0300 |
commit | 65ae4976eb7dfaa472aba7a9931b5beb537fe21a (patch) | |
tree | 9e0ddc2e2559e955e37df6c781b9ecdd6d8a79ba /modules/visual_script/visual_script_flow_control.h | |
parent | 5b96c3a5527c1b2989dbfbe625f1c763b8887334 (diff) |
made visual script switch more flexible
Diffstat (limited to 'modules/visual_script/visual_script_flow_control.h')
-rw-r--r-- | modules/visual_script/visual_script_flow_control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_flow_control.h b/modules/visual_script/visual_script_flow_control.h index e1730a2264..e0da84a534 100644 --- a/modules/visual_script/visual_script_flow_control.h +++ b/modules/visual_script/visual_script_flow_control.h @@ -203,7 +203,6 @@ class VisualScriptSwitch : public VisualScriptNode { struct Case { Variant::Type type; - Variant value; Case() { type=Variant::NIL; } }; @@ -224,6 +223,7 @@ public: virtual String get_output_sequence_port_text(int p_port) const; + virtual bool has_mixed_input_and_sequence_ports() const { return true; } virtual int get_input_value_port_count() const; |