Explorar o código

Add new option to always open output on play

Guilherme Felipe %!s(int64=8) %!d(string=hai) anos
pai
achega
faf6f865dd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tools/editor/editor_node.cpp

+ 3 - 0
tools/editor/editor_node.cpp

@@ -1922,6 +1922,9 @@ void EditorNode::_run(bool p_current,const String& p_custom) {
 		log->clear();
 	}
 
+	if (bool(EDITOR_DEF("run/always_open_output_on_play", true))) {
+		make_bottom_panel_item_visible(log);
+	}
 
 	List<String> breakpoints;
 	editor_data.get_editor_breakpoints(&breakpoints);