Only use force options as multipart identifier.

This commit is contained in:
Toke Stuart Jepsen 2023-02-23 09:20:25 +00:00 committed by Kayla Man
parent d9499d5750
commit 52238488f3

View file

@ -1021,9 +1021,10 @@ class RenderProductsRedshift(ARenderProducts):
# like Cryptomatte.
# AOVs are merged in multi-channel file
multipart = False
force_layer = bool(self._get_attr("redshiftOptions.exrForceMultilayer")) # noqa
exMultipart = bool(self._get_attr("redshiftOptions.exrMultipart"))
if exMultipart and force_layer:
force_layer = bool(
self._get_attr("redshiftOptions.exrForceMultilayer")
)
if force_layer:
multipart = True
return multipart