mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix Project.export_directory_path
being set incorrectly in open_pxo_file()
This commit is contained in:
parent
4d077594ad
commit
6e0d4eb660
|
@ -242,7 +242,7 @@ func open_pxo_file(path: String, untitled_backup := false, replace_empty := true
|
||||||
else:
|
else:
|
||||||
new_project.tiles.reset_mask()
|
new_project.tiles.reset_mask()
|
||||||
zip_reader.close()
|
zip_reader.close()
|
||||||
new_project.export_directory_path = path.get_basename()
|
new_project.export_directory_path = path.get_base_dir()
|
||||||
|
|
||||||
if empty_project:
|
if empty_project:
|
||||||
new_project.change_project()
|
new_project.change_project()
|
||||||
|
|
Loading…
Reference in a new issue