From a56e5c74f577302a51d41823d272f2ec5e0d96e9 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 30 Aug 2016 16:42:39 +0200 Subject: [PATCH] VisualScript: Fixed VariableGet vs VariableSet node names, fixes #6325 --- modules/visual_script/visual_script_nodes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index 21a27b91a36..22fb47d39fc 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -767,7 +767,7 @@ VisualScriptVariableGet::VisualScriptVariableGet() { ////////////////////////////////////////// -////////////////VARIABLE GET////////////////// +////////////////VARIABLE SET////////////////// ////////////////////////////////////////// int VisualScriptVariableSet::get_output_sequence_port_count() const { @@ -3417,8 +3417,8 @@ VisualScriptDeconstruct::VisualScriptDeconstruct() { void register_visual_script_nodes() { - VisualScriptLanguage::singleton->add_register_func("data/set_variable",create_node_generic); - VisualScriptLanguage::singleton->add_register_func("data/get_variable",create_node_generic); + VisualScriptLanguage::singleton->add_register_func("data/set_variable",create_node_generic); + VisualScriptLanguage::singleton->add_register_func("data/get_variable",create_node_generic); VisualScriptLanguage::singleton->add_register_func("data/constant",create_node_generic); VisualScriptLanguage::singleton->add_register_func("data/global_constant",create_node_generic); VisualScriptLanguage::singleton->add_register_func("data/math_constant",create_node_generic);