mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix and clean Blender validators attrs
This commit is contained in:
parent
b8376b4a42
commit
0f90ca4a7a
6 changed files with 5 additions and 5 deletions
|
|
@ -24,8 +24,6 @@ class ValidateCameraZeroKeyframe(pyblish.api.InstancePlugin):
|
|||
label = "Zero Keyframe"
|
||||
actions = [SelectInvalidAction]
|
||||
|
||||
_identity = mathutils.Matrix()
|
||||
|
||||
@staticmethod
|
||||
def get_invalid(instance) -> List:
|
||||
invalid = []
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class ValidateMeshHasUvs(pyblish.api.InstancePlugin):
|
|||
order = ValidateContentsOrder
|
||||
hosts = ["blender"]
|
||||
families = ["model"]
|
||||
category = "geometry"
|
||||
category = "uv"
|
||||
label = "Mesh Has UV's"
|
||||
actions = [SelectInvalidAction]
|
||||
optional = True
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ class ValidateMeshNoNegativeScale(pyblish.api.Validator):
|
|||
order = ValidateContentsOrder
|
||||
hosts = ["blender"]
|
||||
families = ["model"]
|
||||
category = "geometry"
|
||||
label = "Mesh No Negative Scale"
|
||||
actions = [SelectInvalidAction]
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ class ValidateNoColonsInName(pyblish.api.InstancePlugin):
|
|||
order = ValidateContentsOrder
|
||||
hosts = ["blender"]
|
||||
families = ["model", "rig"]
|
||||
category = "cleanup"
|
||||
version = (0, 1, 0)
|
||||
label = "No Colons in names"
|
||||
actions = [SelectInvalidAction]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class ValidateObjectIsInObjectMode(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.ValidatorOrder - 0.01
|
||||
hosts = ["blender"]
|
||||
families = ["model", "rig", "layout"]
|
||||
category = "geometry"
|
||||
category = "cleanup"
|
||||
label = "Validate Object Mode"
|
||||
actions = [SelectInvalidAction]
|
||||
optional = False
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class ValidateTransformZero(pyblish.api.InstancePlugin):
|
|||
order = ValidateContentsOrder
|
||||
hosts = ["blender"]
|
||||
families = ["model"]
|
||||
category = "geometry"
|
||||
category = "cleanup"
|
||||
version = (0, 1, 0)
|
||||
label = "Transform Zero"
|
||||
actions = [SelectInvalidAction]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue