mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix(nks): duration method was wrong
This commit is contained in:
parent
ac9a20cf08
commit
31a7c4405b
1 changed files with 1 additions and 2 deletions
|
|
@ -97,8 +97,7 @@ class CollectClips(api.ContextPlugin):
|
|||
"effects": effects,
|
||||
"sourceIn": int(item.sourceIn()),
|
||||
"sourceOut": int(item.sourceOut()),
|
||||
"mediaDuration": (int(item.sourceOut()) -
|
||||
int(item.sourceIn())) + 1,
|
||||
"mediaDuration": source.duration(),
|
||||
"clipIn": int(item.timelineIn()),
|
||||
"clipOut": int(item.timelineOut()),
|
||||
"clipDuration": (int(item.timelineOut()) -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue