1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-07 10:59:49 +00:00

Fix group layer blending not working properly when it has invisible children

Should completely fix #1166
This commit is contained in:
Emmanouil Papadeas 2025-01-29 16:57:11 +02:00
parent 87b9df8049
commit 055e4e1cb9

View file

@ -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,