diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-02-26 23:37:55 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-02-27 18:41:18 +0100 |
commit | 393a3c3122ac3b54044190ba7bdd081d6703db64 (patch) | |
tree | 665782b4d3a09f92722586c0318f91b6c96027be /scene/main | |
parent | fde1211771f2b3957ba5e5c64a747d3de69cb9f9 (diff) |
Improve the `Node.add_child_below_node()` documentation
This closes https://github.com/godotengine/godot-docs/issues/2730.
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 5baa59fe7c..a0159c3858 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2800,7 +2800,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", "preceding_node", "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); |