mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
validate the albedo file nodes only when getting texture nodes
This commit is contained in:
parent
648151a7ac
commit
2fc0ff4ec8
3 changed files with 39 additions and 54 deletions
|
|
@ -16,7 +16,7 @@ class ValidatePathForPlugin(pyblish.api.InstancePlugin):
|
|||
order = ValidateContentsOrder
|
||||
hosts = ['maya']
|
||||
families = ["workfile"]
|
||||
label = "Non-existent Paths in Non-Maya Nodes"
|
||||
label = "Plug-in Path Attributes"
|
||||
|
||||
def get_invalid(self, instance):
|
||||
invalid = list()
|
||||
|
|
@ -343,58 +343,39 @@
|
|||
"optional": false,
|
||||
"active": true,
|
||||
"attribute": {
|
||||
"AlembicNode": "abc_File",
|
||||
"VRayProxy": "fileName",
|
||||
"RenderManArchive": "filename",
|
||||
"pgYetiMaya": "cacheFileName",
|
||||
"aiStandIn": "dso",
|
||||
"RedshiftSprite": "tex0",
|
||||
"RedshiftBokeh": "dofBokehImage",
|
||||
"RedshiftCameraMap": "tex0",
|
||||
"RedshiftEnvironment": "tex0",
|
||||
"RedshiftEnvironment": "tex1",
|
||||
"RedshiftEnvironment": "tex2",
|
||||
"RedshiftDomeLight": "tex0",
|
||||
"RedshiftDomeLight": "tex1",
|
||||
"RedshiftIESLight": "profile",
|
||||
"RedshiftLightGobo": "tex0",
|
||||
"RedshiftNormalMap": "tex0",
|
||||
"RedshiftProxyMesh": "fileName",
|
||||
"RedshiftVolumeShape": "fileName",
|
||||
"VRayTexGLSL": "fileName",
|
||||
"VRayMtlGLSL": "fileName",
|
||||
"VRayVRmatMtl": "fileName",
|
||||
"VRayPtex": "ptexFile",
|
||||
"VRayLightIESShape": "iesFile",
|
||||
"VRayMesh": "fileName2",
|
||||
"VRayMesh": "overrideFileName",
|
||||
"VRayMesh": "alembicLayersFileName",
|
||||
"VRayMesh": "materialAssignmentsFile",
|
||||
"VRayMtlOSL": "fileName",
|
||||
"VRayTexOSL": "fileName",
|
||||
"VRayTexOCIO": "ocioConfigFile",
|
||||
"VRaySettingsNode": "causticsFile2",
|
||||
"VRaySettingsNode": "causticsAutoSaveFile2",
|
||||
"VRaySettingsNode": "lc_fileName",
|
||||
"VRaySettingsNode": "lc_autoSaveFile",
|
||||
"VRaySettingsNode": "imap_fileName2",
|
||||
"VRaySettingsNode": "imap_autoSaveFile2",
|
||||
"VRaySettingsNode": "pmap_file2",
|
||||
"VRaySettingsNode": "pmap_autoSaveFile2",
|
||||
"VRayScannedMtl": "file",
|
||||
"VRayScene": "FilePath",
|
||||
"VRayScene": "parameterOverrideFilePath",
|
||||
"VRayMtlMDL": "filename",
|
||||
"VRaySimbiont": "file",
|
||||
"dlOpenVDBShape": "filename",
|
||||
"pgYetiMayaShape": "cfn",
|
||||
"pgYetiMayaShape": "ofn",
|
||||
"pgYetiMayaShape": "labf",
|
||||
"pgYetiMayaShape": "trf",
|
||||
"pgYetiMayaShape": "liveABCFilename",
|
||||
"gpuCache": "cacheFileName"
|
||||
}
|
||||
|
||||
"AlembicNode": "abc_File",
|
||||
"VRayProxy": "fileName",
|
||||
"RenderManArchive": "filename",
|
||||
"pgYetiMaya": "cacheFileName",
|
||||
"aiStandIn": "dso",
|
||||
"RedshiftSprite": "tex0",
|
||||
"RedshiftBokeh": "dofBokehImage",
|
||||
"RedshiftCameraMap": "tex0",
|
||||
"RedshiftEnvironment": "tex2",
|
||||
"RedshiftDomeLight": "tex1",
|
||||
"RedshiftIESLight": "profile",
|
||||
"RedshiftLightGobo": "tex0",
|
||||
"RedshiftNormalMap": "tex0",
|
||||
"RedshiftProxyMesh": "fileName",
|
||||
"RedshiftVolumeShape": "fileName",
|
||||
"VRayTexGLSL": "fileName",
|
||||
"VRayMtlGLSL": "fileName",
|
||||
"VRayVRmatMtl": "fileName",
|
||||
"VRayPtex": "ptexFile",
|
||||
"VRayLightIESShape": "iesFile",
|
||||
"VRayMesh": "materialAssignmentsFile",
|
||||
"VRayMtlOSL": "fileName",
|
||||
"VRayTexOSL": "fileName",
|
||||
"VRayTexOCIO": "ocioConfigFile",
|
||||
"VRaySettingsNode": "pmap_autoSaveFile2",
|
||||
"VRayScannedMtl": "file",
|
||||
"VRayScene": "parameterOverrideFilePath",
|
||||
"VRayMtlMDL": "filename",
|
||||
"VRaySimbiont": "file",
|
||||
"dlOpenVDBShape": "filename",
|
||||
"pgYetiMayaShape": "liveABCFilename",
|
||||
"gpuCache": "cacheFileName"
|
||||
}
|
||||
},
|
||||
"ValidateRenderSettings": {
|
||||
"arnold_render_attributes": [],
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@
|
|||
"collapsible": true,
|
||||
"checkbox_key": "enabled",
|
||||
"key": "ValidatePathForPlugin",
|
||||
"label": "Non-existent Paths in Non-Maya Nodes",
|
||||
"label": "Plug-in Path Attributes",
|
||||
"is_group": true,
|
||||
"children": [
|
||||
{
|
||||
|
|
@ -336,6 +336,10 @@
|
|||
"key": "active",
|
||||
"label": "Active"
|
||||
},
|
||||
{
|
||||
"type": "label",
|
||||
"label": "Fill in the node types and attributes you want to validate. e.g. <b>AlembicNode.abc_file</b>, the node type is AlembicNode and the node attribute is abc_file"
|
||||
},
|
||||
{
|
||||
"type": "dict-modifiable",
|
||||
"collapsible": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue