Merge branch 'master' into hotfix/PYPE-730-nk-publishing-slate-workflow-im

This commit is contained in:
Jakub Jezek 2020-02-18 16:31:00 +01:00
commit e8e35ad218
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -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(