1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Properly inspect old remote selection

This commit is contained in:
kobewi
2025-09-04 15:41:11 +02:00
parent 9edc290328
commit 139c406558
3 changed files with 14 additions and 1 deletions

View File

@@ -404,7 +404,8 @@ void EditorDebuggerNode::_notification(int p_what) {
EditorRunBar::get_singleton()->get_pause_button()->set_disabled(false);
// Switch to remote tree view if so desired.
auto_switch_remote_scene_tree = (bool)EDITOR_GET("debugger/auto_switch_to_remote_scene_tree");
remote_scene_tree->set_new_session();
auto_switch_remote_scene_tree = EDITOR_GET("debugger/auto_switch_to_remote_scene_tree");
if (auto_switch_remote_scene_tree) {
SceneTreeDock::get_singleton()->show_remote_tree();
}