Merge pull request #1977 from pypeclub/bugfix/collectors_order

Collectors order
This commit is contained in:
Jakub Trllo 2021-09-01 17:30:38 +02:00 committed by GitHub
commit 0207fb133c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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):

View file

@ -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):

View file

@ -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]

View file

@ -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")