From e84f8c5e581a171b6a682adef73db8df6a19d2bb Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 7 Jan 2026 20:35:15 +0100 Subject: [PATCH] Paste as Sibling right below the node --- editor/docks/scene_tree_dock.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/docks/scene_tree_dock.cpp b/editor/docks/scene_tree_dock.cpp index 3a3bffcd24..b0b8f69eb9 100644 --- a/editor/docks/scene_tree_dock.cpp +++ b/editor/docks/scene_tree_dock.cpp @@ -4414,6 +4414,9 @@ List SceneTreeDock::paste_nodes(bool p_paste_as_sibling) { ur->add_do_method(EditorNode::get_singleton(), "set_edited_scene", dup); } else { ur->add_do_method(paste_parent, "add_child", dup, true); + if (paste_sibling) { + ur->add_do_method(paste_parent, "move_child", dup, paste_sibling->get_index() + 1); + } } for (KeyValue &E2 : duplimap) {