diff --git a/Changelog.md b/Changelog.md index f677c44aa..ed51e3cff 100644 --- a/Changelog.md +++ b/Changelog.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Cels are now in the timeline. Each cel refers to a specific layer AND a frame. Frames are a collection of cels for every layer. - Cel linking is now possible. This way, layers can be "shared" in multiple frames. - You can now group multiple frames with tags. +- You can now export your projects to .gif files - Thanks to Martin Novák (novhack)! - A new rotation method has been added, "Upscale, Rotate and Downscale". It's similar to Rotsprite. Thanks to luiq54! - Pattern filling is now possible. If the user chooses a brush that is not the pixel or a circle brush and uses the bucket tool, the brush image is used as a pattern that fills the area. - Importing .pngs as palettes is now possible - thanks to Martin Novák (novhack)! diff --git a/Scripts/Dialogs/ExportDialog.gd b/Scripts/Dialogs/ExportDialog.gd index f4bfc3ce4..7c692eb08 100644 --- a/Scripts/Dialogs/ExportDialog.gd +++ b/Scripts/Dialogs/ExportDialog.gd @@ -325,7 +325,8 @@ func blend_layers(image: Image, canvas: Canvas, origin: Vector2 = Vector2(0, 0)) var layer_i := 0 for layer in canvas.layers: if Global.layers[layer_i][1]: - var layer_image : Image = layer[0] + var layer_image := Image.new() + layer_image.copy_from(layer[0]) layer_image.lock() if layer[2] < 1: # If we have layer transparency for xx in layer_image.get_size().x: