diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-23 09:46:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 09:46:19 -0300 |
commit | a0ef77eaee427cf077ac884a8d3a956137ee615a (patch) | |
tree | 40bf21e1beae1a6883770d2ac0473222ff41ae65 /modules/visual_script/visual_script.cpp | |
parent | 2d446771d6701bb77432b6df5a768e53c9a6c95d (diff) | |
parent | 5cecdfa8afb91a60305b429f5b738e27dadbc83f (diff) | |
download | redot-engine-a0ef77eaee427cf077ac884a8d3a956137ee615a.tar.gz |
Merge pull request #51983 from reduz/remove-bind-vmethod
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
Diffstat (limited to 'modules/visual_script/visual_script.cpp')
-rw-r--r-- | modules/visual_script/visual_script.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp index 86793af77f..142419f90a 100644 --- a/modules/visual_script/visual_script.cpp +++ b/modules/visual_script/visual_script.cpp @@ -1845,26 +1845,6 @@ void VisualScriptInstance::create(const Ref<VisualScript> &p_script, Object *p_o max_input_args = 0; max_output_args = 0; - if (Object::cast_to<Node>(p_owner)) { - // Turn on these if they exist and base is a node. - Node *node = Object::cast_to<Node>(p_owner); - if (p_script->functions.has("_process")) { - node->set_process(true); - } - if (p_script->functions.has("_physics_process")) { - node->set_physics_process(true); - } - if (p_script->functions.has("_input")) { - node->set_process_input(true); - } - if (p_script->functions.has("_unhandled_input")) { - node->set_process_unhandled_input(true); - } - if (p_script->functions.has("_unhandled_key_input")) { - node->set_process_unhandled_key_input(true); - } - } - // Setup variables. { List<StringName> keys; |