General: editorial otio_range in collection was one frame longer

This commit is contained in:
Jakub Jezek 2022-05-26 14:59:08 +02:00
parent 2e5acf6221
commit d3179847d2
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -168,7 +168,7 @@ def make_sequence_collection(path, otio_range, metadata):
first, last = otio_range_to_frame_range(otio_range)
collection = clique.Collection(
head=head, tail=tail, padding=metadata["padding"])
collection.indexes.update([i for i in range(first, (last + 1))])
collection.indexes.update([i for i in range(first, last)])
return dir_path, collection