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

Commit

Permalink
Enhancement: Dont perform transcoding if review not specified in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyprien CAILLOT committed Sep 11, 2024
1 parent d9731d0 commit 66bf106
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openpype/plugins/publish/extract_color_transcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ def process(self, instance):
repres = instance.data["representations"]
for idx, repre in enumerate(list(repres)):
self.log.debug("repre ({}): `{}`".format(idx + 1, repre["name"]))

if "review" not in repre.get('tags', []):
self.log.warning("No review in tags. Skipping.")
continue

if not self._repre_is_valid(repre):
continue

Expand Down

0 comments on commit 66bf106

Please sign in to comment.