mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
clip duration from Frames clip attributes
This commit is contained in:
parent
ed2756aa52
commit
aa74d48836
1 changed files with 1 additions and 1 deletions
|
|
@ -438,10 +438,10 @@ class ClipLoader:
|
|||
|
||||
source_in = int(_clip_property("Start"))
|
||||
source_out = int(_clip_property("End"))
|
||||
source_duration = int(_clip_property("Frames"))
|
||||
|
||||
# check if source duration is shorter than db frame duration
|
||||
source_with_handles = True
|
||||
source_duration = source_out - source_in + 1
|
||||
if source_duration < db_frame_duration:
|
||||
source_with_handles = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue