mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
updating validator's comment
This commit is contained in:
parent
982186ffa0
commit
bafc085ec1
1 changed files with 5 additions and 3 deletions
|
|
@ -30,12 +30,14 @@ class ValidateDeadlinePublish(pyblish.api.InstancePlugin,
|
|||
filename, ext = os.path.splitext(file)
|
||||
if filename not in rt.rendOutputFilename:
|
||||
raise PublishValidationError(
|
||||
"Directory of RenderOutput doesn't "
|
||||
"have with the current Max SceneName "
|
||||
"please repair to rename the folder!"
|
||||
"Render output folder "
|
||||
"doesn't match the max scene name! "
|
||||
"Use Repair action to "
|
||||
"fix the folder file path.."
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def repair(cls, instance):
|
||||
container = instance.data.get("instance_node")
|
||||
RenderSettings().render_output(container)
|
||||
cls.log.debug("Reset the render output folder...")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue