Merge pull request #10435 from endragor/export-quit

Quit after command-line export
This commit is contained in:
Rémi Verschelde 2017-08-19 10:36:03 +02:00 committed by GitHub
commit c57671f0b3
1 changed files with 2 additions and 1 deletions

View File

@ -371,6 +371,7 @@ void EditorNode::_fs_changed() {
if (preset->get_name() == export_defer.preset) {
break;
}
preset.unref();
}
if (preset.is_null()) {
String err = "Unknown export preset: " + export_defer.preset;
@ -385,7 +386,7 @@ void EditorNode::_fs_changed() {
}
}
export_defer.preset = "";
get_tree()->quit();
}
{