소스 검색

Add new option to always open output on play

Guilherme Felipe 8 년 전
부모
커밋
faf6f865dd
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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();
 		log->clear();
 	}
 	}
 
 
+	if (bool(EDITOR_DEF("run/always_open_output_on_play", true))) {
+		make_bottom_panel_item_visible(log);
+	}
 
 
 	List<String> breakpoints;
 	List<String> breakpoints;
 	editor_data.get_editor_breakpoints(&breakpoints);
 	editor_data.get_editor_breakpoints(&breakpoints);