mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge branch 'master' into develop
This commit is contained in:
commit
63f0ab7a2b
1 changed files with 5 additions and 2 deletions
|
|
@ -30,9 +30,12 @@ class CollectClipTagFrameStart(api.InstancePlugin):
|
|||
except ValueError:
|
||||
if "source" in t_value:
|
||||
source_first = instance.data["sourceFirst"]
|
||||
if source_first == 0:
|
||||
source_first = 1
|
||||
self.log.info("Start frame on `{0}`".format(source_first))
|
||||
source_in = instance.data["sourceIn"]
|
||||
handle_start = instance.data["handleStart"]
|
||||
start_frame = (source_first + source_in) - handle_start
|
||||
self.log.info("Start frame on `{0}`".format(source_in))
|
||||
start_frame = source_first + source_in
|
||||
|
||||
instance.data["startingFrame"] = start_frame
|
||||
self.log.info("Start frame on `{0}` set to `{1}`".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue