Skip to content

Commit

Permalink
Fix visible layers being wrong when exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadedOrama committed Nov 24, 2023
1 parent 8784427 commit 346d1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autoload/Export.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 346d1f0

Please sign in to comment.