Quit after command-line export
This commit is contained in:
parent
e61d547ed0
commit
02670a3806
|
@ -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