From 42ad4615aa0abc49650e58407a6fd29c410330c7 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Tue, 23 Apr 2019 16:55:59 +0200 Subject: [PATCH] feat(global): integrate frames now add hashes to padding imagesequences only --- .../global/publish/integrate_rendered_frames.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pype/plugins/global/publish/integrate_rendered_frames.py b/pype/plugins/global/publish/integrate_rendered_frames.py index b72df226de..e814e31640 100644 --- a/pype/plugins/global/publish/integrate_rendered_frames.py +++ b/pype/plugins/global/publish/integrate_rendered_frames.py @@ -242,11 +242,17 @@ class IntegrateFrames(pyblish.api.InstancePlugin): instance.data["transfers"].append([src, dst]) - template_data["frame"] = "#" * int(anatomy_filled["render"]["padding"]) + if ext[1:] not in ["jpeg", "jpg", "mov", "mp4", "wav"]: + template_data["frame"] = "#" * int(anatomy_filled["render"]["padding"]) + anatomy_filled = anatomy.format(template_data) path_to_save = anatomy_filled["render"]["path"] template = anatomy.templates["render"]["path"] - self.log.debug('ext[1:]: {}'.format(ext[1:])) + + self.log.debug("path_to_save: {}".format(path_to_save)) + + + representation = { "schema": "pype:representation-2.0",