From f1dd4fcf4c44f34c1fe492b4bef06bd2558f4e33 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Wed, 13 May 2020 15:05:36 +0200 Subject: [PATCH] fix(global): integrate swap order of padding request from anatomy --- pype/plugins/global/publish/integrate_new.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pype/plugins/global/publish/integrate_new.py b/pype/plugins/global/publish/integrate_new.py index 6e237e46e9..b054d8c309 100644 --- a/pype/plugins/global/publish/integrate_new.py +++ b/pype/plugins/global/publish/integrate_new.py @@ -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