From 055e4e1cb9ef1efea7700e284f6885d4806d8e19 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 29 Jan 2025 16:57:11 +0200 Subject: [PATCH] Fix group layer blending not working properly when it has invisible children Should completely fix #1166 --- src/Classes/Layers/GroupLayer.gd | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Classes/Layers/GroupLayer.gd b/src/Classes/Layers/GroupLayer.gd index 3c683265d..1b39d1aeb 100644 --- a/src/Classes/Layers/GroupLayer.gd +++ b/src/Classes/Layers/GroupLayer.gd @@ -24,9 +24,6 @@ func blend_children(frame: Frame, origin := Vector2i.ZERO, apply_effects := true var current_child_index := 0 for i in children.size(): var layer := children[i] - if not layer.is_visible_in_hierarchy(): - current_child_index += 1 - continue if layer is GroupLayer: current_child_index = _blend_child_group( image,