mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fixes #161
This commit is contained in:
parent
695c4a4dbe
commit
15db2dd960
|
@ -88,6 +88,7 @@ func save_sprite(canvas : Canvas, path : String) -> void:
|
|||
layer[0].lock()
|
||||
|
||||
if resize != 100:
|
||||
whole_image.unlock()
|
||||
whole_image.resize(whole_image.get_size().x * resize / 100, whole_image.get_size().y * resize / 100, interpolation)
|
||||
var err = whole_image.save_png(path)
|
||||
if err != OK:
|
||||
|
|
Loading…
Reference in a new issue