VisualScript: Fixed VariableGet vs VariableSet node names, fixes #6325

This commit is contained in:
J08nY 2016-08-30 16:42:39 +02:00
parent 5efe47fb0b
commit a56e5c74f5
No known key found for this signature in database
GPG Key ID: 7F4A448FE68F329D
1 changed files with 3 additions and 3 deletions

View File

@ -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<VisualScriptVariableGet>);
VisualScriptLanguage::singleton->add_register_func("data/get_variable",create_node_generic<VisualScriptVariableSet>);
VisualScriptLanguage::singleton->add_register_func("data/set_variable",create_node_generic<VisualScriptVariableSet>);
VisualScriptLanguage::singleton->add_register_func("data/get_variable",create_node_generic<VisualScriptVariableGet>);
VisualScriptLanguage::singleton->add_register_func("data/constant",create_node_generic<VisualScriptConstant>);
VisualScriptLanguage::singleton->add_register_func("data/global_constant",create_node_generic<VisualScriptGlobalConstant>);
VisualScriptLanguage::singleton->add_register_func("data/math_constant",create_node_generic<VisualScriptMathConstant>);