mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
hound fixes
This commit is contained in:
parent
1bfe423285
commit
a2b2dfb1ef
2 changed files with 9 additions and 8 deletions
|
|
@ -117,13 +117,14 @@ class ValidateRenderSettings(pyblish.api.InstancePlugin):
|
|||
cls.log.error("Animation needs to be enabled. Use the same "
|
||||
"frame for start and end to render single frame")
|
||||
|
||||
if renderer != "renderman":
|
||||
if not prefix.lower().startswith(required_prefix):
|
||||
invalid = True
|
||||
cls.log.error(
|
||||
"Wrong image prefix [ {} ] - doesn't start with: '{}'".format(
|
||||
prefix, required_prefix)
|
||||
)
|
||||
if renderer != "renderman" and not prefix.lower().startswith(
|
||||
required_prefix):
|
||||
invalid = True
|
||||
cls.log.error(
|
||||
("Wrong image prefix [ {} ] "
|
||||
" - doesn't start with: '{}'").format(
|
||||
prefix, required_prefix)
|
||||
)
|
||||
|
||||
if not re.search(cls.R_LAYER_TOKEN, prefix):
|
||||
invalid = True
|
||||
|
|
|
|||
|
|
@ -858,7 +858,7 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin):
|
|||
}
|
||||
|
||||
renderer = self._instance.data["renderer"]
|
||||
|
||||
|
||||
# This hack is here because of how Deadline handles Renderman version.
|
||||
# it considers everything with `renderman` set as version older than
|
||||
# Renderman 22, and so if we are using renderman > 21 we need to set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue