1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Merge pull request #7642 from guilhermefelipecgs/add_category

Add run/output category
[ci skip]
This commit is contained in:
Rémi Verschelde
2017-01-25 20:17:03 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -1928,11 +1928,11 @@ void EditorNode::_run(bool p_current,const String& p_custom) {
editor_data.save_editor_external_data(); editor_data.save_editor_external_data();
} }
if (bool(EDITOR_DEF("run/always_clear_output_on_play", true))) { if (bool(EDITOR_DEF("run/output/always_clear_output_on_play", true))) {
log->clear(); log->clear();
} }
if (bool(EDITOR_DEF("run/always_open_output_on_play", true))) { if (bool(EDITOR_DEF("run/output/always_open_output_on_play", true))) {
make_bottom_panel_item_visible(log); make_bottom_panel_item_visible(log);
} }

View File

@@ -653,6 +653,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
set("run/auto_save/save_before_running",true); set("run/auto_save/save_before_running",true);
set("run/output/always_clear_output_on_play",true);
set("run/output/always_open_output_on_play",true);
set("filesystem/resources/save_compressed_resources",true); set("filesystem/resources/save_compressed_resources",true);
set("filesystem/resources/auto_reload_modified_images",true); set("filesystem/resources/auto_reload_modified_images",true);