fixing subset attaching assert, disabling arnold scene export

This commit is contained in:
Ondrej Samohel 2020-06-12 14:02:00 +02:00
parent 6c33cc223e
commit 978e24d59b
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class CreateRender(avalon.maya.Creator):
_image_prefixes = {
'mentalray': 'maya/<Scene>/<RenderLayer>/<RenderLayer>_<RenderPass>',
'vray': '"maya/<scene>/<Layer>/<Layer>',
'vray': 'maya/<scene>/<Layer>/<Layer>',
'arnold': 'maya/<Scene>/<RenderLayer>/<RenderLayer>_<RenderPass>',
'renderman': 'maya/<Scene>/<layer>/<layer>_<aov>',
'redshift': 'maya/<Scene>/<RenderLayer>/<RenderLayer>_<RenderPass>'

View file

@ -192,7 +192,7 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
# in expectedFiles. If so, raise error as we cannot attach AOV
# (considered to be subset on its own) to another subset
if attachTo:
assert len(exp_files[0].keys()) == 1, (
assert isinstance(exp_files, dict) is True, (
"attaching multiple AOVs or renderable cameras to "
"subset is not supported"
)