moved description to testing plugin

This commit is contained in:
iLLiCiTiT 2021-08-20 12:37:16 +02:00
parent c565e709f0
commit 26152999d9
2 changed files with 26 additions and 26 deletions

View file

@ -13,7 +13,31 @@ class ValidateInstanceAssetRepair(pyblish.api.Action):
pass
class ValidateInstanceAsset(pyblish.api.InstancePlugin):
description = """
## Publish plugins
### Validate Scene Settings
#### Skip Resolution Check for Tasks
Set regex pattern(s) to look for in a Task name to skip resolution check against values from DB.
#### Skip Timeline Check for Tasks
Set regex pattern(s) to look for in a Task name to skip `frameStart`, `frameEnd` check against values from DB.
### AfterEffects Submit to Deadline
* `Use Published scene` - Set to True (green) when Deadline should take published scene as a source instead of uploaded local one.
* `Priority` - priority of job on farm
* `Primary Pool` - here is list of pool fetched from server you can select from.
* `Secondary Pool`
* `Frames Per Task` - number of sequence division between individual tasks (chunks)
making one job on farm.
"""
class ValidateWithError(pyblish.api.InstancePlugin):
"""Validate the instance asset is the current selected context asset.
As it might happen that multiple worfiles are opened, switching
@ -30,4 +54,4 @@ class ValidateInstanceAsset(pyblish.api.InstancePlugin):
order = pyblish.api.ValidatorOrder
def process(self, instance):
raise PublishValidationError("Crashing")
raise PublishValidationError("Crashing", "Errored out", description)

View file

@ -1,30 +1,6 @@
from Qt import QtWidgets, QtCore
global_msg = """
## Publish plugins
### Validate Scene Settings
#### Skip Resolution Check for Tasks
Set regex pattern(s) to look for in a Task name to skip resolution check against values from DB.
#### Skip Timeline Check for Tasks
Set regex pattern(s) to look for in a Task name to skip `frameStart`, `frameEnd` check against values from DB.
### AfterEffects Submit to Deadline
* `Use Published scene` - Set to True (green) when Deadline should take published scene as a source instead of uploaded local one.
* `Priority` - priority of job on farm
* `Primary Pool` - here is list of pool fetched from server you can select from.
* `Secondary Pool`
* `Frames Per Task` - number of sequence division between individual tasks (chunks)
making one job on farm.
"""
class ValidationErrorTitleWidget(QtWidgets.QFrame):
checked = QtCore.Signal(int)