From 1e0eb19c15d384ffc4052b29b20e4de7c664565e Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 15 May 2022 22:05:35 +0300 Subject: [PATCH] Don't fill color when creating a new empty frame if the color is transparent --- src/Classes/Project.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/Project.gd b/src/Classes/Project.gd index 0e6309a9d..2fd9873a1 100644 --- a/src/Classes/Project.gd +++ b/src/Classes/Project.gd @@ -111,7 +111,7 @@ func new_empty_frame() -> Frame: for l in layers: # Create as many cels as there are layers var image := Image.new() image.create(size.x, size.y, false, Image.FORMAT_RGBA8) - if bottom_layer: + if bottom_layer and fill_color.a > 0: image.fill(fill_color) frame.cels.append(Cel.new(image, 1)) bottom_layer = false