mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1977 from pypeclub/bugfix/collectors_order
Collectors order
This commit is contained in:
commit
0207fb133c
4 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ from openpype.lib import get_subset_name
|
|||
|
||||
class CollectInstances(pyblish.api.ContextPlugin):
|
||||
label = "Collect Instances"
|
||||
order = pyblish.api.CollectorOrder - 1
|
||||
order = pyblish.api.CollectorOrder - 0.4
|
||||
hosts = ["tvpaint"]
|
||||
|
||||
def process(self, context):
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from openpype.lib import get_subset_name
|
|||
|
||||
class CollectWorkfile(pyblish.api.ContextPlugin):
|
||||
label = "Collect Workfile"
|
||||
order = pyblish.api.CollectorOrder - 1
|
||||
order = pyblish.api.CollectorOrder - 0.4
|
||||
hosts = ["tvpaint"]
|
||||
|
||||
def process(self, context):
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class ResetTVPaintWorkfileMetadata(pyblish.api.Action):
|
|||
|
||||
class CollectWorkfileData(pyblish.api.ContextPlugin):
|
||||
label = "Collect Workfile Data"
|
||||
order = pyblish.api.CollectorOrder - 1.01
|
||||
order = pyblish.api.CollectorOrder - 0.45
|
||||
hosts = ["tvpaint"]
|
||||
actions = [ResetTVPaintWorkfileMetadata]
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class CollectHostName(pyblish.api.ContextPlugin):
|
|||
"""Collect avalon host name to context."""
|
||||
|
||||
label = "Collect Host Name"
|
||||
order = pyblish.api.CollectorOrder - 1
|
||||
order = pyblish.api.CollectorOrder - 0.5
|
||||
|
||||
def process(self, context):
|
||||
host_name = context.data.get("hostName")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue