summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2016-12-24 20:39:16 -0200
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2016-12-24 20:39:16 -0200
commitfaf6f865ddefa129945491796edcc23133f7e5e1 (patch)
tree62dd7ebcc7e1e3d9632fb774153bac4cf266650f /tools/editor
parent83b82fc26788bd644bda2ff9477a2961b027a916 (diff)
Add new option to always open output on play
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index b125b622aa..42f6711310 100644
--- a/tools/editor/editor_node.cpp
+++ b/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);