Przeglądaj źródła

Merge pull request #6410 from supaiku-o/issue-6029

Always show output panel when debugging
Rémi Verschelde 9 lat temu
rodzic
commit
a66a23fafe
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      tools/editor/script_editor_debugger.cpp

+ 3 - 0
tools/editor/script_editor_debugger.cpp

@@ -1087,6 +1087,9 @@ void ScriptEditorDebugger::start() {
 
 	stop();
 
+	if (!EditorNode::get_log()->is_visible()) {
+		EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log());
+	}
 
 	uint16_t port = GLOBAL_DEF("debug/remote_port",6007);
 	perf_history.clear();