fix(global): integrate swap order of padding request from anatomy

This commit is contained in:
Jakub Jezek 2020-05-13 15:05:36 +02:00
parent 15815360e4
commit f1dd4fcf4c
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -343,12 +343,12 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
index_frame_start = None
if repre.get("frameStart"):
frame_start_padding = (
anatomy.templates["render"].get(
"padding",
anatomy.templates["frame_padding"]
)
# TODO: bck compatibility `templates["render"]["padding"]`
frame_start_padding = anatomy.templates.get(
"frame_padding",
anatomy.templates["render"].get("padding")
)
index_frame_start = int(repre.get("frameStart"))
# exception for slate workflow