Skip to content

Commit

Permalink
Fix "reparent to new node" when node has internal children
Browse files Browse the repository at this point in the history
  • Loading branch information
RedMser committed Sep 6, 2024
1 parent 05d9854 commit 8da49ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,7 @@ void SceneTreeDock::_create() {
int original_position = -1;
if (only_one_top_node) {
parent = top_node->get_parent();
original_position = top_node->get_index();
original_position = top_node->get_index(false);
} else {
parent = top_node->get_parent()->get_parent();
}
Expand Down

0 comments on commit 8da49ab

Please sign in to comment.