mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix visible layers being wrong when exporting
This commit is contained in:
parent
8784427c72
commit
346d1f071a
|
@ -485,7 +485,7 @@ func blend_selected_cels(
|
||||||
image: Image, frame: Frame, origin := Vector2(0, 0), project := Global.current_project
|
image: Image, frame: Frame, origin := Vector2(0, 0), project := Global.current_project
|
||||||
) -> void:
|
) -> void:
|
||||||
for cel_ind in frame.cels.size():
|
for cel_ind in frame.cels.size():
|
||||||
var test_array := [project.current_frame, cel_ind]
|
var test_array := [project.frames.find(frame), cel_ind]
|
||||||
if not test_array in project.selected_cels:
|
if not test_array in project.selected_cels:
|
||||||
continue
|
continue
|
||||||
if frame.cels[cel_ind] is GroupCel:
|
if frame.cels[cel_ind] is GroupCel:
|
||||||
|
|
Loading…
Reference in a new issue