mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Merge pull request #20136 from ordigdug/Inspector-fix-remote-debug-view-changing-after-exit-game
Fix -inspector- remote debug view not changing to current scene a…
This commit is contained in:
commit
89e1b302b5
@ -1249,6 +1249,9 @@ void ScriptEditorDebugger::stop() {
|
||||
EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree();
|
||||
EditorNode::get_singleton()->get_scene_tree_dock()->hide_tab_buttons();
|
||||
|
||||
Node *node = editor->get_scene_tree_dock()->get_tree_editor()->get_selected();
|
||||
editor->push_item(node);
|
||||
|
||||
if (hide_on_stop) {
|
||||
if (is_visible_in_tree())
|
||||
EditorNode::get_singleton()->hide_bottom_panel();
|
||||
|
Loading…
Reference in New Issue
Block a user