From 346d1f071a8c6b1defb1072d39aea9c642f1ef59 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Sat, 25 Nov 2023 00:20:54 +0200 Subject: [PATCH] Fix visible layers being wrong when exporting --- src/Autoload/Export.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autoload/Export.gd b/src/Autoload/Export.gd index f91a129cb..645989757 100644 --- a/src/Autoload/Export.gd +++ b/src/Autoload/Export.gd @@ -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: