mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:24:44 -04:00
Fixed issue where Brushes and Palettes wouldn't load if you opened Pixelorama from a file
It now uses "OS.get_executable_path().get_base_dir()" to find the root directory of Pixelorama, instead of just "."
This commit is contained in:
parent
9e7a3059f2
commit
a6d129526c
6 changed files with 11 additions and 7 deletions
|
@ -154,7 +154,6 @@ func _ready() -> void:
|
|||
|
||||
if OS.get_cmdline_args():
|
||||
for arg in OS.get_cmdline_args():
|
||||
print(arg)
|
||||
if arg.get_extension().to_lower() == "pxo":
|
||||
_on_OpenSprite_file_selected(arg)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue