From 15db2dd960fb601e990885b5f86f6b9c3902b82f Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 17 Feb 2020 14:47:15 +0200 Subject: [PATCH] Fixes #161 --- Scripts/Dialogs/ExportSprites.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/Dialogs/ExportSprites.gd b/Scripts/Dialogs/ExportSprites.gd index 93e8fa6ef..15dfc2f34 100644 --- a/Scripts/Dialogs/ExportSprites.gd +++ b/Scripts/Dialogs/ExportSprites.gd @@ -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: