From 73d855dbcedfccb92d2fc6f3302633b65bd1627d Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 20 Aug 2017 15:20:08 -0300 Subject: [PATCH] Inspector is no longer cleared when game runs, fixes #9408 (cherry picked from commit ab13d0aeed43b7263b1e62bb62551525b70822a8) Fixes #10943. --- editor/script_editor_debugger.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 956cbc4bf8..c303e7b99c 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1216,9 +1216,6 @@ void ScriptEditorDebugger::stop() { EditorNode::get_singleton()->get_pause_button()->set_pressed(false); EditorNode::get_singleton()->get_pause_button()->set_disabled(true); - //avoid confusion when stopped debugging but an object is still edited - EditorNode::get_singleton()->push_item(NULL); - if (hide_on_stop) { if (is_visible()) EditorNode::get_singleton()->hide_bottom_panel();