summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-12 12:04:03 +0200
committerGitHub <noreply@github.com>2017-09-12 12:04:03 +0200
commit0f006994d8be89e3c06bbec50eeab6746b17865c (patch)
treeb0a0270b2c139b2af1114e760181bbc6e71f1a43 /scene
parentee581e1fedaa4eba7b3af3037ef049873d265934 (diff)
parent0549484c7708febba7055ccf28a2aeed051c1dc4 (diff)
Merge pull request #11007 from saltares/issue-9988
Renames _add_child_below_node() to add_child_below_node(). Fixes #9988.
Diffstat (limited to 'scene')
-rwxr-xr-xscene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index a543dba9cb..d3a0857b16 100755
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -2674,7 +2674,7 @@ void Node::_bind_methods() {
GLOBAL_DEF("node/name_casing", NAME_CASING_PASCAL_CASE);
ProjectSettings::get_singleton()->set_custom_property_info("node/name_casing", PropertyInfo(Variant::INT, "node/name_casing", PROPERTY_HINT_ENUM, "PascalCase,camelCase,snake_case"));
- ClassDB::bind_method(D_METHOD("_add_child_below_node", "node", "child_node", "legible_unique_name"), &Node::add_child_below_node, DEFVAL(false));
+ ClassDB::bind_method(D_METHOD("add_child_below_node", "node", "child_node", "legible_unique_name"), &Node::add_child_below_node, DEFVAL(false));
ClassDB::bind_method(D_METHOD("set_name", "name"), &Node::set_name);
ClassDB::bind_method(D_METHOD("get_name"), &Node::get_name);