diff options
Diffstat (limited to 'scene/main/node.cpp')
-rw-r--r-- | scene/main/node.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 5ea83a3b6e..58829dbee3 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2815,8 +2815,8 @@ bool Node::is_displayed_folded() const { void Node::_bind_methods() { - _GLOBAL_DEF("node/name_num_separator",0); - Globals::get_singleton()->set_custom_property_info("node/name_num_separator",PropertyInfo(Variant::INT,"node/name_num_separator",PROPERTY_HINT_ENUM, "None,Space,Underscore,Dash")); + _GLOBAL_DEF("editor/node_name_num_separator",0); + GlobalConfig::get_singleton()->set_custom_property_info("editor/node_name_num_separator",PropertyInfo(Variant::INT,"editor/node_name_num_separator",PROPERTY_HINT_ENUM, "None,Space,Underscore,Dash")); ClassDB::bind_method(_MD("_add_child_below_node","node:Node","child_node:Node","legible_unique_name"),&Node::add_child_below_node,DEFVAL(false)); @@ -2989,7 +2989,7 @@ void Node::_bind_methods() { String Node::_get_name_num_separator() { - switch(Globals::get_singleton()->get("node/name_num_separator").operator int()) { + switch(GlobalConfig::get_singleton()->get("node/name_num_separator").operator int()) { case 0: return ""; case 1: return " "; case 2: return "_"; |