mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
added settings category to photoshop plugins
This commit is contained in:
parent
0594f49f4f
commit
d99245f495
6 changed files with 6 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ class CollectColorCodedInstances(pyblish.api.ContextPlugin):
|
|||
order = pyblish.api.CollectorOrder
|
||||
hosts = ["photoshop"]
|
||||
targets = ["automated"]
|
||||
settings_category = "photoshop"
|
||||
|
||||
# configurable by Settings
|
||||
color_code_mapping = []
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class CollectReview(pyblish.api.ContextPlugin):
|
|||
label = "Collect Review"
|
||||
hosts = ["photoshop"]
|
||||
order = pyblish.api.CollectorOrder + 0.1
|
||||
settings_category = "photoshop"
|
||||
|
||||
def process(self, context):
|
||||
for instance in context:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ class CollectVersion(pyblish.api.InstancePlugin):
|
|||
|
||||
hosts = ["photoshop"]
|
||||
families = ["image", "review", "workfile"]
|
||||
settings_category = "photoshop"
|
||||
|
||||
def process(self, instance):
|
||||
workfile_version = instance.context.data["version"]
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ class ExtractImage(pyblish.api.ContextPlugin):
|
|||
|
||||
families = ["image", "background"]
|
||||
formats = ["png", "jpg"]
|
||||
settings_category = "photoshop"
|
||||
|
||||
def process(self, context):
|
||||
stub = photoshop.stub()
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ class ExtractReview(publish.Extractor):
|
|||
label = "Extract Review"
|
||||
hosts = ["photoshop"]
|
||||
families = ["review"]
|
||||
settings_category = "photoshop"
|
||||
|
||||
# Extract Options
|
||||
jpg_options = None
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class ValidateNamingRepair(pyblish.api.Action):
|
|||
label = "Repair"
|
||||
icon = "wrench"
|
||||
on = "failed"
|
||||
settings_category = "photoshop"
|
||||
|
||||
def process(self, context, plugin):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue