Merge pull request #10435 from endragor/export-quit
Quit after command-line export
This commit is contained in:
commit
c57671f0b3
|
@ -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();
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue