mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:34:43 -04:00
Palettes now get loaded from the root directory instead of user://
Folders "Brushes", "Palette" and "Palette/Custom" now get created if they don't exist (tested on Windows export). Also, the palettes don't need the Default palette to work anymore, and Default along with bubblegum16 aren't copied to the Palette folder now.
This commit is contained in:
parent
ef879882d6
commit
870cf8940d
10 changed files with 25 additions and 22 deletions
|
@ -2,6 +2,7 @@ extends Node
|
|||
|
||||
func import_brushes(path : String) -> void:
|
||||
var brushes_dir := Directory.new()
|
||||
brushes_dir.open(".")
|
||||
if !brushes_dir.dir_exists(path):
|
||||
brushes_dir.make_dir(path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue