mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fixed issue with cel opacity affecting the actual image pixels on export
This commit is contained in:
parent
a19a2fb0d5
commit
9e0c62773c
|
@ -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)!
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue