mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
global: removing redundant check
This commit is contained in:
parent
5d49d9c3d2
commit
7c30798bec
1 changed files with 1 additions and 8 deletions
|
|
@ -20,7 +20,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.ExtractorOrder
|
||||
families = [
|
||||
"imagesequence", "render", "render2d", "prerender",
|
||||
"source", "plate", "take", "review"
|
||||
"source", "clip", "take"
|
||||
]
|
||||
hosts = ["shell", "fusion", "resolve", "traypublisher"]
|
||||
enabled = False
|
||||
|
|
@ -29,13 +29,6 @@ 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']))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue