Merge pull request #15869 from guilhermefelipecgs/fix_always_open_output_on_play

Fix option run/output/always_open_output_on_play
This commit is contained in:
Rémi Verschelde 2018-01-24 11:51:59 +01:00 committed by GitHub
commit 925791dd8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);