summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-01 08:56:15 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-10-01 08:56:15 +0200
commitc51caa3dbdf4acaa7e063c46ae8026adb0633008 (patch)
tree6a9dd9a063bb0d82459c710c6b42aa263c8e2bdf /editor
parent3a036571f2914dc0e902d52645de2fa5981c0f01 (diff)
Revert "Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075"
This reverts commit 9c7e647124694b1f3f6940c2b6e1b5f329b61a70. This commit caused a regression and is not a correct fix for the original issue. Fixes #22573, reopens #20075.
Diffstat (limited to 'editor')
-rw-r--r--editor/script_editor_debugger.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index f18c43b0d0..2d4af6c63d 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1293,9 +1293,6 @@ 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();