mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
OP-3940 - added optionality to collector
There might be a reason when artist would like to skip this synchronization for specific workfile.
This commit is contained in:
parent
d93a18fd89
commit
d0b8437cfd
3 changed files with 7 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ class CollectVersion(pyblish.api.InstancePlugin):
|
|||
families = ["image", "review"]
|
||||
|
||||
# controlled by Settings
|
||||
optional = True
|
||||
sync_workfile_version = False
|
||||
|
||||
def process(self, instance):
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"flatten_subset_template": ""
|
||||
},
|
||||
"CollectVersion": {
|
||||
"optional": true,
|
||||
"sync_workfile_version": true
|
||||
},
|
||||
"ValidateContainers": {
|
||||
|
|
|
|||
|
|
@ -137,6 +137,11 @@
|
|||
"key": "CollectVersion",
|
||||
"label": "Collect Version",
|
||||
"children": [
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "optional",
|
||||
"label": "Optional"
|
||||
},
|
||||
{
|
||||
"type": "label",
|
||||
"label": "Synchronize version for image and review instances by workfile version."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue