1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

made visual script switch more flexible

This commit is contained in:
Juan Linietsky
2016-09-01 20:04:17 -03:00
parent 5b96c3a552
commit 65ae4976eb
4 changed files with 54 additions and 54 deletions

View File

@@ -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;