From a351c54e2740582a43614f70272bc9e0587d77ee Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 9 Mar 2021 16:31:05 +0100 Subject: [PATCH] dont remove frame start and frame end from instance data --- .../plugins/publish/collect_context.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_context.py b/pype/hosts/standalonepublisher/plugins/publish/collect_context.py index f6c102f2cb..318335a6d2 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/collect_context.py +++ b/pype/hosts/standalonepublisher/plugins/publish/collect_context.py @@ -123,7 +123,8 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin): `multiple_instances` but without any family filtering. Since usage of the filtering is unknown and modification of that part may break editorial or PSD batch publishing it was decided to create a copy with - this family specific filtering. + this family specific filtering. Also "frameStart" and "frameEnd" keys + are removed from instance which is needed for this processing. TODO: - Merge logic with `multiple_instances` method. @@ -149,12 +150,6 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin): ).format(", ".join(expected_exts), str(repre))) continue - # Delete key from representation - # QUESTION is this needed in mov batch processing? - delete_repr_keys = ["frameStart", "frameEnd"] - for key in delete_repr_keys: - repre.pop(key, None) - files = repre["files"] # Convert files to list if it isnt if not isinstance(files, (tuple, list)):