mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Adjust comment.
This commit is contained in:
parent
6d31cd723c
commit
4b27971a8e
1 changed files with 5 additions and 4 deletions
|
|
@ -320,8 +320,8 @@ class ExtractOTIOReview(publish.Extractor):
|
||||||
avl_start = avl_range.start_time
|
avl_start = avl_range.start_time
|
||||||
avl_duration = avl_range.duration
|
avl_duration = avl_range.duration
|
||||||
|
|
||||||
# A gap is required before available range
|
# An additional gap is required before the available
|
||||||
# range to conform start point.
|
# range to conform source start point and head handles.
|
||||||
if start < avl_start:
|
if start < avl_start:
|
||||||
gap_duration = avl_start - start
|
gap_duration = avl_start - start
|
||||||
start = avl_start
|
start = avl_start
|
||||||
|
|
@ -332,8 +332,9 @@ class ExtractOTIOReview(publish.Extractor):
|
||||||
# generate used frames
|
# generate used frames
|
||||||
self._generate_used_frames(gap_duration.round().to_frames())
|
self._generate_used_frames(gap_duration.round().to_frames())
|
||||||
|
|
||||||
# A gap is required after available range
|
# An additional gap is required after the available
|
||||||
# if media duration is shorter then clip requirement
|
# range to conform to source end point + tail handles
|
||||||
|
# (media duration is shorter then clip requirement).
|
||||||
end_point = start + duration
|
end_point = start + duration
|
||||||
avl_end_point = avl_range.end_time_exclusive()
|
avl_end_point = avl_range.end_time_exclusive()
|
||||||
if end_point > avl_end_point:
|
if end_point > avl_end_point:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue