Skip to content

Commit

Permalink
Fix node gets wrongly selected after moving another node in the tree
Browse files Browse the repository at this point in the history
  • Loading branch information
AeioMuch authored and akien-mga committed Jul 23, 2024
1 parent 4e5ed0b commit 393fb68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,7 @@ void SceneTreeDock::_do_reparent(Node *p_new_parent, int p_position_in_parent, V

if (need_edit) {
EditorNode::get_singleton()->edit_current();
editor_selection->clear();
}
}

Expand Down

0 comments on commit 393fb68

Please sign in to comment.