Ensures that export path is used when exporting PCK/ZIP
(cherry picked from commit 3a6c14e5c4
)
This commit is contained in:
parent
3c778f40e1
commit
533a8cabcc
1 changed files with 5 additions and 0 deletions
|
@ -767,6 +767,11 @@ void ProjectExportDialog::_refresh_parent_checks(TreeItem *p_item) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProjectExportDialog::_export_pck_zip() {
|
void ProjectExportDialog::_export_pck_zip() {
|
||||||
|
Ref<EditorExportPreset> current = get_current_preset();
|
||||||
|
ERR_FAIL_COND(current.is_null());
|
||||||
|
|
||||||
|
String dir = current->get_export_path().get_base_dir();
|
||||||
|
export_pck_zip->set_current_dir(dir);
|
||||||
|
|
||||||
export_pck_zip->popup_centered_ratio();
|
export_pck_zip->popup_centered_ratio();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue