mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Update openpype/hosts/resolve/api/plugin.py
This commit is contained in:
parent
73bc49750e
commit
531fd55bee
1 changed files with 3 additions and 2 deletions
|
|
@ -408,11 +408,12 @@ class ClipLoader:
|
|||
_clip_property = media_pool_item.GetClipProperty
|
||||
source_in = int(_clip_property("Start"))
|
||||
source_out = int(_clip_property("End"))
|
||||
|
||||
source_duration = int(_clip_property("Frames"))
|
||||
|
||||
# Trim clip start if slate is present
|
||||
if "slate" in self.data["versionData"]["families"]:
|
||||
source_in += 1
|
||||
source_duration = source_out - source_in + 1
|
||||
source_duration = source_out - source_in + 1
|
||||
|
||||
if not self.with_handles:
|
||||
# Load file without the handles of the source media
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue