Merge pull request #45359 from mrushyendra/export_pckzip
Make use of export path when exporting PCK/ZIP
This commit is contained in:
commit
ad0f1c6670
1 changed files with 6 additions and 0 deletions
|
@ -830,6 +830,12 @@ 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_file_dialog();
|
export_pck_zip->popup_file_dialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue