Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix(global): review attribute in instance
Browse files Browse the repository at this point in the history
fix code from #441
  • Loading branch information
jakubjezek001 committed Aug 21, 2020
1 parent 109cab9 commit f09e48a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pype/plugins/global/publish/extract_jpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +27,7 @@ def process(self, instance):
return

# Skip review when requested.
if not instance.data.get("review"):
if not instance.data.get("review", True):
return

# get representation and loop them
Expand Down
4 changes: 2 additions & 2 deletions pype/plugins/global/publish/extract_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f09e48a

Please sign in to comment.