mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-12 22:35:18 +00:00
Fix export bug where the path is being changed if there's a folder with the same name as the file
This commit is contained in:
parent
77513b6ba3
commit
1e73ce5aa6
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ func set_new_imported_tab(project: Project, path: String) -> void:
|
|||
if project.has_changed:
|
||||
Global.window_title = Global.window_title + "(*)"
|
||||
var file_name := path.get_basename().get_file()
|
||||
var directory_path := path.get_basename().replace(file_name, "")
|
||||
var directory_path := path.get_base_dir()
|
||||
project.directory_path = directory_path
|
||||
project.file_name = file_name
|
||||
project.was_exported = true
|
||||
|
|
Loading…
Add table
Reference in a new issue