mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Added automatic clear output on Play in Godot Settings
This commit is contained in:
parent
f46e340ab5
commit
4ad590b92f
3 changed files with 17 additions and 6 deletions
|
|
@ -1564,7 +1564,6 @@ void EditorNode::_run(bool p_current,const String& p_custom) {
|
|||
Node *scene = editor_data.get_edited_scene_root();
|
||||
|
||||
if (!scene) {
|
||||
|
||||
current_option=-1;
|
||||
//accept->get_cancel()->hide();
|
||||
accept->get_ok()->set_text("I see..");
|
||||
|
|
@ -1645,6 +1644,11 @@ void EditorNode::_run(bool p_current,const String& p_custom) {
|
|||
editor_data.save_editor_external_data();
|
||||
}
|
||||
|
||||
if (bool(EDITOR_DEF("run/always_clear_output_on_play", true))) {
|
||||
print_line("Setting option was set to ON -> clearing");
|
||||
log->clear();
|
||||
}
|
||||
|
||||
|
||||
List<String> breakpoints;
|
||||
editor_data.get_editor_breakpoints(&breakpoints);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue