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

Commit

Permalink
Merge pull request #2832 from pypeclub/bugfix/review-skip-crypto
Browse files Browse the repository at this point in the history
Maya: Stop creation of reviews for Cryptomattes
  • Loading branch information
antirotor authored Mar 4, 2022
2 parents 1f147cf + bdd4e08 commit 5de5a8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openpype/plugins/publish/extract_jpeg_exr.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ def process(self, instance):
self.log.info("subset {}".format(instance.data['subset']))

# skip crypto passes.
if 'crypto' in instance.data['subset']:
# TODO: This is just a quick fix and has its own side-effects - it is
# affecting every subset name with `crypto` in its name.
# This must be solved properly, maybe using tags on
# representation that can be determined much earlier and
# with better precision.
if 'crypto' in instance.data['subset'].lower():
self.log.info("Skipping crypto passes.")
return

Expand Down

0 comments on commit 5de5a8b

Please sign in to comment.