1
0
Fork 0
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:
Emmanouil Papadeas 2023-11-25 00:20:54 +02:00
parent 8784427c72
commit 346d1f071a

View file

@ -485,7 +485,7 @@ func blend_selected_cels(
image: Image, frame: Frame, origin := Vector2(0, 0), project := Global.current_project
) -> void:
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:
continue
if frame.cels[cel_ind] is GroupCel: