summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script.h
diff options
context:
space:
mode:
authorthe 8th mage <eee34353@gmail.com>2018-09-29 22:50:04 +0300
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2018-10-11 12:21:05 -0700
commitd3fc5e6c8933c156d449d8cc0bfa5d0075d74333 (patch)
treeb32d62369201479a744bbebbf0dbb5e40bd18827 /modules/visual_script/visual_script.h
parent451e5fd0511bc2c17a66fc73a0de9a5169109517 (diff)
downloadredot-engine-d3fc5e6c8933c156d449d8cc0bfa5d0075d74333.tar.gz
Fixed the problem with vector3 constructor
Whenever there's a port change that may change the inputs, the default inputs will be recalculated. Moving the update port loop into its own function. Signed-off-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Diffstat (limited to 'modules/visual_script/visual_script.h')
-rw-r--r--modules/visual_script/visual_script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h
index ea99ce4970..bd666447a3 100644
--- a/modules/visual_script/visual_script.h
+++ b/modules/visual_script/visual_script.h
@@ -52,6 +52,7 @@ class VisualScriptNode : public Resource {
Array _get_default_input_values() const;
void validate_input_default_values();
+ void _update_input_ports();
protected:
void _notification(int p_what);