fixed aov separator for redshift, validator error message

This commit is contained in:
Ondrej Samohel 2022-02-10 15:09:03 +01:00
parent 36730e38d4
commit 5385c32900
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
2 changed files with 3 additions and 3 deletions

View file

@ -911,7 +911,7 @@ class RenderProductsRedshift(ARenderProducts):
"""
prefix = super(RenderProductsRedshift, self).get_renderer_prefix()
prefix = "{}.<aov>".format(prefix)
prefix = "{}{}<aov>".format(prefix, self.aov_separator)
return prefix
def get_render_products(self):

View file

@ -172,8 +172,8 @@ class ValidateRenderSettings(pyblish.api.InstancePlugin):
cls.log.error(("AOV ({}) image prefix is not set "
"correctly {} != {}").format(
cmds.getAttr("{}.name".format(aov)),
cmds.getAttr("{}.filePrefix".format(aov)),
aov_prefix
aov_prefix,
redshift_AOV_prefix
))
invalid = True
# get aov format