diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-17 09:14:23 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-17 09:14:23 +0200 |
commit | 68dc685f1f6182d306fd7a3b31b27ab7c8e10b73 (patch) | |
tree | 56e449ec38b9d69654ddb5f05f1918a415e3ede3 /tools/editor | |
parent | f93aaa9b7896231e80379a17938b9aca26429dd0 (diff) | |
parent | aee156dc023e8cf4db5c5ee51fe6b2b46c7c1660 (diff) |
Merge pull request #4652 from Paulb23/node_duplication_position
Node duplication positions under duplicated node, issue #964
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp index 35a84ae5c1..6d0c21d5f8 100644 --- a/tools/editor/scene_tree_dock.cpp +++ b/tools/editor/scene_tree_dock.cpp @@ -442,7 +442,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { dup->set_name(attempt); - editor_data->get_undo_redo().add_do_method(parent,"add_child",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())) { |