소스 검색

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.
Rémi Verschelde 7 년 전
부모
커밋
c51caa3dbd
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      editor/script_editor_debugger.cpp

+ 0 - 3
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();