mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix(global): review attribute in instance
fix code from https://github.com/pypeclub/pype/pull/441
This commit is contained in:
parent
109cab9fb7
commit
f09e48ac8c
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue