mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-12 08:43:08 +00:00
Fix group layer blending not working properly when it has invisible children
Should completely fix #1166
This commit is contained in:
parent
87b9df8049
commit
055e4e1cb9
|
@ -24,9 +24,6 @@ func blend_children(frame: Frame, origin := Vector2i.ZERO, apply_effects := true
|
||||||
var current_child_index := 0
|
var current_child_index := 0
|
||||||
for i in children.size():
|
for i in children.size():
|
||||||
var layer := children[i]
|
var layer := children[i]
|
||||||
if not layer.is_visible_in_hierarchy():
|
|
||||||
current_child_index += 1
|
|
||||||
continue
|
|
||||||
if layer is GroupLayer:
|
if layer is GroupLayer:
|
||||||
current_child_index = _blend_child_group(
|
current_child_index = _blend_child_group(
|
||||||
image,
|
image,
|
||||||
|
|
Loading…
Reference in a new issue