summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-24 11:51:59 +0100
committerGitHub <noreply@github.com>2018-01-24 11:51:59 +0100
commit925791dd8a27ac7670dd4146a1d8f421572c3f85 (patch)
tree15d745f95fb414e045596630a5ed523c62f051ce
parent0ecf2fdd51069a86af86c8a5776f8085c4e74973 (diff)
parent9974e86904d3539e0c04d38bfc3c38c195bdc177 (diff)
Merge pull request #15869 from guilhermefelipecgs/fix_always_open_output_on_play
Fix option run/output/always_open_output_on_play
-rw-r--r--editor/script_editor_debugger.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 629b5b63fb..d0527a13ea 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -612,7 +612,9 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
if (!EditorNode::get_log()->is_visible()) {
if (EditorNode::get_singleton()->are_bottom_panels_hidden()) {
- EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log());
+ if (EDITOR_GET("run/output/always_open_output_on_play")) {
+ EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log());
+ }
}
}
EditorNode::get_log()->add_message(t);