Merge pull request #94649 from AeioMuch/fix_wrong_selection
Fix node gets wrongly selected after moving another node in the tree
This commit is contained in:
commit
432d15e3f1
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue