summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-20 15:20:08 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-20 15:21:45 -0300
commitab13d0aeed43b7263b1e62bb62551525b70822a8 (patch)
treebe2b488cbd69369be5cf15d963258b93658e3b5b /editor
parent541fdffc0ab2115238fe9cedbf1c088b15f11fdf (diff)
Inspector is no longer cleared when game runs, fixes #9408
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 bcf24b98f6..fee67df9c9 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1090,9 +1090,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_in_tree())
EditorNode::get_singleton()->hide_bottom_panel();