mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #3885 from pypeclub/feature/OP-3943_Photoshop-review-can-be-turned-off
Photoshop: review can be turned off
This commit is contained in:
commit
7d598e1728
3 changed files with 19 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ class CollectReview(pyblish.api.ContextPlugin):
|
||||||
hosts = ["photoshop"]
|
hosts = ["photoshop"]
|
||||||
order = pyblish.api.CollectorOrder + 0.1
|
order = pyblish.api.CollectorOrder + 0.1
|
||||||
|
|
||||||
|
publish = True
|
||||||
|
|
||||||
def process(self, context):
|
def process(self, context):
|
||||||
family = "review"
|
family = "review"
|
||||||
subset = get_subset_name(
|
subset = get_subset_name(
|
||||||
|
|
@ -45,5 +47,6 @@ class CollectReview(pyblish.api.ContextPlugin):
|
||||||
"family": family,
|
"family": family,
|
||||||
"families": [],
|
"families": [],
|
||||||
"representations": [],
|
"representations": [],
|
||||||
"asset": os.environ["AVALON_ASSET"]
|
"asset": os.environ["AVALON_ASSET"],
|
||||||
|
"publish": self.publish
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@
|
||||||
"CollectInstances": {
|
"CollectInstances": {
|
||||||
"flatten_subset_template": ""
|
"flatten_subset_template": ""
|
||||||
},
|
},
|
||||||
|
"CollectReview": {
|
||||||
|
"publish": true
|
||||||
|
},
|
||||||
"CollectVersion": {
|
"CollectVersion": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,18 @@
|
||||||
{
|
{
|
||||||
"type": "dict",
|
"type": "dict",
|
||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
|
"key": "CollectReview",
|
||||||
|
"label": "Collect Review",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "boolean",
|
||||||
|
"key": "publish",
|
||||||
|
"label": "Active"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "dict",
|
||||||
"key": "CollectVersion",
|
"key": "CollectVersion",
|
||||||
"label": "Collect Version",
|
"label": "Collect Version",
|
||||||
"children": [
|
"children": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue