Fix node gets wrongly selected after moving another node in the tree
This commit is contained in:
parent
4e5ed0bbfb
commit
393fb68aea
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue