tweaks on the debug message

This commit is contained in:
Kayla Man 2024-03-04 21:13:45 +08:00
parent 11b89d5513
commit 1204c5f2c7

View file

@ -75,8 +75,8 @@ class ValidateRenderPasses(OptionalPyblishPluginMixin,
filename, ext = os.path.splitext(file)
if filename not in rt.rendOutputFilename:
cls.log.error(
"Render output folder "
f"doesn't match the max scene name {filename} "
"Render output folder must include"
f"the max scene name {filename} "
)
invalid_folder_name = os.path.dirname(
rt.rendOutputFilename).replace(
@ -121,9 +121,8 @@ class ValidateRenderPasses(OptionalPyblishPluginMixin,
invalid.extend(invalid_image_format)
elif renderer == "Arnold":
cls.log.debug(
"Renderpass validation not supported Arnold yet,"
"Renderpass validation does not support Arnold yet,"
" validation skipped...")
return invalid
@classmethod