Skip to content

Commit

Permalink
Ensures that export path is used when exporting PCK/ZIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mrushyendra committed Jan 23, 2021
1 parent 2a3e771 commit 3a6c14e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions editor/project_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,12 @@ void ProjectExportDialog::_refresh_parent_checks(TreeItem *p_item) {
}

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();
}

Expand Down

0 comments on commit 3a6c14e

Please sign in to comment.