summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorDavid Saltares <david.saltares@gmail.com>2017-09-05 22:39:32 +0100
committerDavid Saltares <david.saltares@gmail.com>2017-09-05 22:43:28 +0100
commit0549484c7708febba7055ccf28a2aeed051c1dc4 (patch)
tree2d6908b6c280a641a16033362442240647fdb885 /editor
parent29db531fc8360b1e6d5e23008b208517b6d8c627 (diff)
Renames _add_child_below_node() to add_child_below_node(). Closes #9988.
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index afdf48b314..9420e1909a 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -433,7 +433,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
dup->set_name(parent->validate_child_name(dup));
- editor_data->get_undo_redo().add_do_method(parent, "_add_child_below_node", node, dup);
+ editor_data->get_undo_redo().add_do_method(parent, "add_child_below_node", node, dup);
for (List<Node *>::Element *F = owned.front(); F; F = F->next()) {
if (!duplimap.has(F->get())) {