mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add the validator into the settings
This commit is contained in:
parent
e9b149ee6a
commit
e436dbb57e
3 changed files with 9 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ class ValidateMayaColorSpace(pyblish.api.InstancePlugin):
|
|||
families = ['look']
|
||||
hosts = ['maya']
|
||||
label = 'Maya Color Space'
|
||||
optional = True
|
||||
|
||||
def process(self, instance):
|
||||
ocio_maya = cmds.colorManagementPrefs(q=True,
|
||||
|
|
|
|||
|
|
@ -306,6 +306,11 @@
|
|||
"optional": true,
|
||||
"active": true
|
||||
},
|
||||
"ValidateMayaColorSpace": {
|
||||
"enabled": true,
|
||||
"optional": true,
|
||||
"active": true
|
||||
},
|
||||
"ValidateAttributes": {
|
||||
"enabled": false,
|
||||
"attributes": {}
|
||||
|
|
|
|||
|
|
@ -144,6 +144,10 @@
|
|||
{
|
||||
"key": "ValidateShadingEngine",
|
||||
"label": "Validate Look Shading Engine Naming"
|
||||
},
|
||||
{
|
||||
"key": "ValidateMayaColorSpace",
|
||||
"label": "ValidateMayaColorSpace"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue