mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
changed tvpaint related collectors to context collectors
This commit is contained in:
parent
8e8945ce32
commit
b296ae2d29
2 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ import pyblish.api
|
|||
from openpype.lib import get_subset_name_with_asset_doc
|
||||
|
||||
|
||||
class CollectTVPaintInstances(pyblish.api.InstancePlugin):
|
||||
class CollectTVPaintInstances(pyblish.api.ContextPlugin):
|
||||
label = "Collect TVPaint Instances"
|
||||
order = pyblish.api.CollectorOrder + 0.1
|
||||
hosts = ["webpublisher"]
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from openpype.hosts.tvpaint.worker import (
|
|||
)
|
||||
|
||||
|
||||
class CollectTVPaintWorkfileData(pyblish.api.InstancePlugin):
|
||||
class CollectTVPaintWorkfileData(pyblish.api.ContextPlugin):
|
||||
label = "Collect TVPaint Workfile data"
|
||||
order = pyblish.api.CollectorOrder
|
||||
hosts = ["webpublisher"]
|
||||
|
|
@ -30,7 +30,7 @@ class CollectTVPaintWorkfileData(pyblish.api.InstancePlugin):
|
|||
|
||||
def process(self, context):
|
||||
# Get JobQueue module
|
||||
modules = context.context.data["openPypeModules"]
|
||||
modules = context.data["openPypeModules"]
|
||||
job_queue_module = modules["job_queue"]
|
||||
|
||||
context_staging_dir = self._create_context_staging_dir(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue