Add Cryptomatte to expected files by default if existed

This commit is contained in:
MustafaJafar 2024-02-19 14:23:14 +02:00
parent ec55ad53ea
commit 5981c09ba7

View file

@ -83,7 +83,9 @@ class CollectRedshiftROPRenderProducts(pyblish.api.InstancePlugin):
if not aov_prefix:
aov_prefix = default_prefix
if not full_exr_mode:
if rop.parm(f"RS_aovID_{i}").evalAsString() == "CRYPTOMATTE" or \
not full_exr_mode:
aov_product = self.get_render_product_name(aov_prefix, aov_suffix)
render_products.append(aov_product)