mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 13:33:13 +00:00
Also fixes #161 for spritesheets
This commit is contained in:
parent
15db2dd960
commit
a1cdd36ef8
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ func save_spritesheet() -> void:
|
||||||
layer[0].lock()
|
layer[0].lock()
|
||||||
|
|
||||||
if resize != 100:
|
if resize != 100:
|
||||||
|
whole_image.unlock()
|
||||||
whole_image.resize(width * resize / 100, height * resize / 100, interpolation)
|
whole_image.resize(width * resize / 100, height * resize / 100, interpolation)
|
||||||
var err = whole_image.save_png(current_export_path)
|
var err = whole_image.save_png(current_export_path)
|
||||||
if err != OK:
|
if err != OK:
|
||||||
|
|
Loading…
Add table
Reference in a new issue