1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

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

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();
} }
} }