Update client/ayon_core/plugins/publish/collect_otio_frame_ranges.py

Co-authored-by: Robin De Lillo <robin@ynput.io>
This commit is contained in:
Jakub Ježek 2025-01-30 10:58:04 +01:00 committed by GitHub
parent be5eb08d2b
commit f91baa0e1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,8 +101,7 @@ class CollectOtioRanges(pyblish.api.InstancePlugin):
tl_start_h, tl_end_h = otio_range_to_frame_range(otio_tl_range_handles)
frame_start = workfile_start
frame_end = frame_start + otio.opentime.to_frames(
otio_tl_range.duration, otio_tl_range.duration.rate) - 1
frame_end = frame_start + otio_tl_range.duration.to_frames() - 1
data = {
"frameStart": frame_start,