move settings to deadline

This commit is contained in:
Ondrej Samohel 2021-07-12 13:16:38 +02:00 committed by Ondřej Samohel
parent 4b2aba2f45
commit 0551d76fb6
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
5 changed files with 24 additions and 30 deletions

View file

@ -273,17 +273,17 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin):
self._job_info = ( self._job_info = (
context.data["project_settings"].get( context.data["project_settings"].get(
"maya", {}).get(
"publish", {}).get(
"deadline", {}).get( "deadline", {}).get(
"publish", {}).get(
"MayaSubmitDeadline", {}).get(
"jobInfo", {}) "jobInfo", {})
) )
self._plugin_info = ( self._plugin_info = (
context.data["project_settings"].get( context.data["project_settings"].get(
"maya", {}).get(
"publish", {}).get(
"deadline", {}).get( "deadline", {}).get(
"publish", {}).get(
"MayaSubmitDeadline", {}).get(
"pluginInfo", {}) "pluginInfo", {})
) )

View file

@ -3,9 +3,13 @@
"ValidateExpectedFiles": { "ValidateExpectedFiles": {
"enabled": true, "enabled": true,
"active": true, "active": true,
"families": ["render"], "allow_user_override": true,
"targets": ["deadline"], "families": [
"allow_user_override": true "render"
],
"targets": [
"deadline"
]
}, },
"MayaSubmitDeadline": { "MayaSubmitDeadline": {
"enabled": true, "enabled": true,
@ -15,7 +19,9 @@
"use_published": true, "use_published": true,
"asset_dependencies": true, "asset_dependencies": true,
"group": "none", "group": "none",
"limit": [] "limit": [],
"jobInfo": {},
"pluginInfo": {}
}, },
"NukeSubmitDeadline": { "NukeSubmitDeadline": {
"enabled": true, "enabled": true,

View file

@ -391,10 +391,6 @@
} }
} }
}, },
"deadline": {
"jobInfo": {},
"pluginInfo": {}
},
"ExtractCameraAlembic": { "ExtractCameraAlembic": {
"enabled": true, "enabled": true,
"optional": true, "optional": true,

View file

@ -108,6 +108,16 @@
"key": "limit", "key": "limit",
"label": "Limit Groups", "label": "Limit Groups",
"object_type": "text" "object_type": "text"
},
{
"type": "raw-json",
"key": "jobInfo",
"label": "Additional JobInfo data"
},
{
"type": "raw-json",
"key": "pluginInfo",
"label": "Additional PluginInfo data"
} }
] ]
}, },

View file

@ -309,24 +309,6 @@
"type": "schema", "type": "schema",
"name": "schema_maya_capture" "name": "schema_maya_capture"
}, },
{
"type": "dict",
"collapsible": true,
"key": "deadline",
"label": "Additional Deadline Settings",
"children": [
{
"type": "raw-json",
"key": "jobInfo",
"label": "Additional JobInfo data"
},
{
"type": "raw-json",
"key": "pluginInfo",
"label": "Additional PluginInfo data"
}
]
},
{ {
"type": "dict", "type": "dict",
"collapsible": true, "collapsible": true,