changed tvpaint related collectors to context collectors

This commit is contained in:
iLLiCiTiT 2021-11-10 19:01:43 +01:00
parent 8e8945ce32
commit b296ae2d29
2 changed files with 3 additions and 3 deletions

View file

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

View file

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