diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2016-05-13 17:09:49 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2016-05-13 20:05:52 +0100 |
commit | aee156dc023e8cf4db5c5ee51fe6b2b46c7c1660 (patch) | |
tree | 24fa9a2bd9a74b6a0f718819b5c1b8d5fe3fa78a /tools/editor/scene_tree_dock.cpp | |
parent | bd3dbe5fa306c96f79190ccfcd116436d27acb93 (diff) |
Node duplication positions under duplicated node, issue 964
Diffstat (limited to 'tools/editor/scene_tree_dock.cpp')
-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 ce7a0b2911..2d969ee073 100644 --- a/tools/editor/scene_tree_dock.cpp +++ b/tools/editor/scene_tree_dock.cpp @@ -438,7 +438,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())) { |