Fix node gets wrongly selected after moving another node in the tree

This commit is contained in:
AeioMuch 2024-07-23 09:54:15 +02:00 committed by Rémi Verschelde
parent 4e5ed0bbfb
commit 393fb68aea
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -2416,6 +2416,7 @@ void SceneTreeDock::_do_reparent(Node *p_new_parent, int p_position_in_parent, V
if (need_edit) { if (need_edit) {
EditorNode::get_singleton()->edit_current(); EditorNode::get_singleton()->edit_current();
editor_selection->clear();
} }
} }