Quit after command-line export

This commit is contained in:
Ruslan Mustakov 2017-08-19 11:59:00 +07:00
parent e61d547ed0
commit 02670a3806
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();
}
{