fix(nks, nk): operation with handles

This commit is contained in:
Jakub Jezek 2019-07-10 11:23:04 +02:00
parent 639db74f0c
commit ed0ed9aca7
7 changed files with 30 additions and 15 deletions

View file

@ -299,10 +299,10 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
repre['published_path'] = dst_collection.format()
index_frame_start = None
if instance.data.get("frameStart"):
if repre.get('startFrame'):
frame_start_padding = len(str(
instance.data.get("frameStart")))
index_frame_start = instance.data.get("frameStart")
repre.get('endFrame')))
index_frame_start = repre.get('startFrame')
for i in src_collection.indexes:
src_padding = src_collection.format("{padding}") % i