1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix Project.export_directory_path being set incorrectly in open_pxo_file()

This commit is contained in:
Emmanouil Papadeas 2024-03-22 15:30:00 +02:00
parent 4d077594ad
commit 6e0d4eb660

View file

@ -242,7 +242,7 @@ func open_pxo_file(path: String, untitled_backup := false, replace_empty := true
else:
new_project.tiles.reset_mask()
zip_reader.close()
new_project.export_directory_path = path.get_basename()
new_project.export_directory_path = path.get_base_dir()
if empty_project:
new_project.change_project()