Skip to content

Commit

Permalink
Merge pull request #96646 from RedMser/reparent-internal
Browse files Browse the repository at this point in the history
Fix "reparent to new node" when node has internal children
  • Loading branch information
akien-mga committed Sep 6, 2024
2 parents a87ceed + 8da49ab commit 90801df
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 90801df

Please sign in to comment.