mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update client/ayon_core/pipeline/editorial.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
6c66933424
commit
4f2340adea
1 changed files with 6 additions and 2 deletions
|
|
@ -262,8 +262,12 @@ def get_media_range_with_retimes(otio_clip, handle_start, handle_end):
|
|||
# compute retimed range
|
||||
media_in_trimmed = conformed_source_range.start_time.value + offset_in
|
||||
media_out_trimmed = media_in_trimmed + (
|
||||
(conformed_source_range.duration.value * abs(
|
||||
time_scalar) + offset_out) - 1)
|
||||
(
|
||||
conformed_source_range.duration.value
|
||||
* abs(time_scalar)
|
||||
+ offset_out
|
||||
) - 1
|
||||
)
|
||||
|
||||
media_in = available_range.start_time.value
|
||||
media_out = available_range.end_time_inclusive().value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue