mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
global: adding review family to filters with non trayp exception
This commit is contained in:
parent
9787947573
commit
0ea71b05fb
1 changed files with 9 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.ExtractorOrder
|
||||
families = [
|
||||
"imagesequence", "render", "render2d", "prerender",
|
||||
"source", "plate", "take"
|
||||
"source", "plate", "take", "review"
|
||||
]
|
||||
hosts = ["shell", "fusion", "resolve", "traypublisher"]
|
||||
enabled = False
|
||||
|
|
@ -29,6 +29,14 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
ffmpeg_args = None
|
||||
|
||||
def process(self, instance):
|
||||
# make sure this apply only to reveiw in both family keys
|
||||
# HACK: only traypublisher review family is allowed
|
||||
if (
|
||||
instance.data["family"] != "review"
|
||||
and "review" in instance.data["families"]
|
||||
):
|
||||
return
|
||||
|
||||
self.log.info("subset {}".format(instance.data['subset']))
|
||||
|
||||
# skip crypto passes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue