fix(global): review attribute in instance

fix code from https://github.com/pypeclub/pype/pull/441
This commit is contained in:
Jakub Jezek 2020-08-21 14:50:22 +02:00
parent 109cab9fb7
commit f09e48ac8c
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
"""Create jpg thumbnail from sequence using ffmpeg"""
label = "Extract Jpeg EXR"
hosts = ["shell"]
hosts = ["shell", "fusion"]
order = pyblish.api.ExtractorOrder
families = ["imagesequence", "render", "render2d", "source"]
enabled = False
@ -27,7 +27,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
return
# Skip review when requested.
if not instance.data.get("review"):
if not instance.data.get("review", True):
return
# get representation and loop them

View file

@ -52,8 +52,8 @@ class ExtractReview(pyblish.api.InstancePlugin):
def process(self, instance):
# # Skip review when requested.
# if not instance.data.get("review"):
# return
if not instance.data.get("review", True):
return
# ffmpeg doesn't support multipart exrs
if instance.data.get("multipartExr") is True: