浏览代码

Add new option to always open output on play

(cherry picked from commit faf6f865ddefa129945491796edcc23133f7e5e1)
Guilherme Felipe 8 年之前
父节点
当前提交
eea6c43676
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tools/editor/editor_node.cpp

+ 3 - 0
tools/editor/editor_node.cpp

@@ -1926,6 +1926,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);