Skip to content

Commit

Permalink
Move setting from Global to Maya
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorrain authored and ClementHector committed Feb 7, 2022
1 parent e452155 commit 3e23455
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ValidateSceneSetWorkspace(pyblish.api.InstancePlugin):
version = (0, 1, 0)
label = 'Maya Workspace Set'

publish_from_published_workfiles = True
publish_from_published_workfiles = False

def process(self, instance):

Expand Down
3 changes: 0 additions & 3 deletions openpype/settings/defaults/project_settings/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
"optional": false,
"active": true
},
"ValidateSceneSetWorkspace": {
"publish_from_published_workfiles": false
},
"ValidateIntent": {
"enabled": false,
"profiles": []
Expand Down
3 changes: 3 additions & 0 deletions openpype/settings/defaults/project_settings/maya.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@
"redshift_render_attributes": [],
"renderman_render_attributes": []
},
"ValidateSceneSetWorkspace": {
"publish_from_published_workfiles": false
},
"ValidateModelName": {
"enabled": false,
"database": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,6 @@
}
]
},
{
"type": "dict",
"collapsible": true,
"key": "ValidateSceneSetWorkspace",
"label": "Validate Workspace",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "publish_from_published_workfiles",
"label": "Allow publishing form published workfiles"
}
]
},
{
"type": "dict",
"label": "Validate Intent",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,20 @@
}
]
},
{
"type": "dict",
"collapsible": true,
"key": "ValidateSceneSetWorkspace",
"label": "Validate Workspace",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "publish_from_published_workfiles",
"label": "Allow publishing form published workfiles"
}
]
},
{
"type": "collapsible-wrap",
"label": "Model",
Expand Down

0 comments on commit 3e23455

Please sign in to comment.