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:57:21 +01:00 committed by GitHub
parent 971c4aef43
commit be5eb08d2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,10 +123,7 @@ class CollectOtioRanges(pyblish.api.InstancePlugin):
otio_src_range_handles = otio_range_with_handles(otio_src_range, instance)
# Get source available start frame
src_starting_from = otio.opentime.to_frames(
otio_available_range.start_time,
otio_available_range.start_time.rate
)
src_starting_from = otio_available_range.to_frames()
# Convert to frames
src_start, src_end = otio_range_to_frame_range(otio_src_range)