1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-15 18:13:15 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
HuanWuCode
2607426926
Merge a17ad78c2d into 6224d06428 2024-11-25 16:05:39 +02:00
HuanWuCode
a17ad78c2d
Update Import.gd 2024-10-14 23:01:52 -07:00

View file

@ -90,9 +90,9 @@ func get_brush_files_from_directory(directory: String): # -> Array
func add_randomised_brush(fpaths: Array, tooltip_name: String) -> void:
# Attempt to load the images from the file paths.
var loaded_images: Array = []
for filen in fpaths:
for file in fpaths:
var image := Image.new()
var err := image.load(filen)
var err := image.load(file)
if err == OK:
image.convert(Image.FORMAT_RGBA8)
loaded_images.append(image)