You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Merge pull request #2316 from StraToN/clearconsole
Clear output console (Button + clear on Play)
This commit is contained in:
@@ -1587,7 +1587,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..");
|
||||
@@ -1668,6 +1667,10 @@ 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))) {
|
||||
log->clear();
|
||||
}
|
||||
|
||||
|
||||
List<String> breakpoints;
|
||||
editor_data.get_editor_breakpoints(&breakpoints);
|
||||
|
||||
Reference in New Issue
Block a user