Browse Source

Add new option to always open output on play

(cherry picked from commit faf6f865ddefa129945491796edcc23133f7e5e1)
Guilherme Felipe 8 years ago
parent
commit
eea6c43676
1 changed files with 3 additions and 0 deletions
  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();
 		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);