Browse Source

Inspector is no longer cleared when game runs, fixes #9408

(cherry picked from commit ab13d0aeed43b7263b1e62bb62551525b70822a8)
Fixes #10943.
Juan Linietsky 8 years ago
parent
commit
73d855dbce
1 changed files with 0 additions and 3 deletions
  1. 0 3
      editor/script_editor_debugger.cpp

+ 0 - 3
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_pressed(false);
 	EditorNode::get_singleton()->get_pause_button()->set_disabled(true);
 	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 (hide_on_stop) {
 		if (is_visible())
 		if (is_visible())
 			EditorNode::get_singleton()->hide_bottom_panel();
 			EditorNode::get_singleton()->hide_bottom_panel();