mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
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:
parent
be5eb08d2b
commit
f91baa0e1e
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue