Fix scene tree showing up when the root selection is present
This commit is contained in:
parent
ae21b5ddad
commit
f30e4dbf54
|
@ -2658,7 +2658,9 @@ void SceneTreeDock::_remote_tree_selected() {
|
|||
}
|
||||
|
||||
void SceneTreeDock::_local_tree_selected() {
|
||||
if (!bool(EDITOR_GET("interface/editors/show_scene_tree_root_selection")) || get_tree()->get_edited_scene_root() != nullptr) {
|
||||
scene_tree->show();
|
||||
}
|
||||
if (remote_tree) {
|
||||
remote_tree->hide();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue