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

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>
This commit is contained in:
the 8th mage
2018-09-29 22:50:04 +03:00
committed by K. S. Ernest (iFire) Lee
parent 451e5fd051
commit d3fc5e6c89
2 changed files with 12 additions and 9 deletions

View File

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