From a1cdd36ef868ee46843bb2030ed29a52dc051875 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 17 Feb 2020 14:50:46 +0200 Subject: [PATCH] Also fixes #161 for spritesheets --- Scripts/Dialogs/ExportSprites.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/Dialogs/ExportSprites.gd b/Scripts/Dialogs/ExportSprites.gd index 15dfc2f..279461c 100644 --- a/Scripts/Dialogs/ExportSprites.gd +++ b/Scripts/Dialogs/ExportSprites.gd @@ -143,6 +143,7 @@ func save_spritesheet() -> void: layer[0].lock() if resize != 100: + whole_image.unlock() whole_image.resize(width * resize / 100, height * resize / 100, interpolation) var err = whole_image.save_png(current_export_path) if err != OK: