mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
PS subset grouping - reverted back implementation in collect_instances.py
This commit is contained in:
parent
f75fd3c139
commit
47cec33e62
1 changed files with 0 additions and 9 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import pyblish.api
|
||||
import avalon.api
|
||||
|
||||
from avalon import photoshop
|
||||
|
||||
|
|
@ -20,8 +19,6 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
families_mapping = {
|
||||
"image": []
|
||||
}
|
||||
# True will add all instances to same group in Loader
|
||||
group_by_task_name = False
|
||||
|
||||
def process(self, context):
|
||||
stub = photoshop.stub()
|
||||
|
|
@ -52,12 +49,6 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
layer_data["family"]
|
||||
]
|
||||
instance.data["publish"] = layer.visible
|
||||
|
||||
if self.group_by_task_name:
|
||||
task = avalon.api.Session["AVALON_TASK"]
|
||||
sanitized_task_name = task[0].upper() + task[1:]
|
||||
instance.data["subsetGroup"] = sanitized_task_name
|
||||
|
||||
instance_names.append(layer_data["subset"])
|
||||
|
||||
# Produce diagnostic message for any graphical
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue