dont remove frame start and frame end from instance data

This commit is contained in:
iLLiCiTiT 2021-03-09 16:31:05 +01:00
parent 256f28f3a7
commit a351c54e27

View file

@ -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)):