mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix the same frames being exported multiple times when "Selected frames" is selected, and multiple cels of the same frames are currently selected on the timeline - Fixes #1001
This commit is contained in:
parent
11a1428eef
commit
1cb4d22233
|
@ -262,7 +262,9 @@ func _calculate_frames(project := Global.current_project) -> Array[Frame]:
|
|||
frames = project.frames.slice(frame_start - 1, frame_end, 1, true)
|
||||
elif frame_current_tag == 1: # Selected frames
|
||||
for cel in project.selected_cels:
|
||||
frames.append(project.frames[cel[0]])
|
||||
var frame := project.frames[cel[0]]
|
||||
if not frames.has(frame):
|
||||
frames.append(frame)
|
||||
else: # All frames
|
||||
frames = project.frames.duplicate()
|
||||
|
||||
|
|
Loading…
Reference in a new issue