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

[QUAD] Enhancement: Dont perform transcoding if review not specified in tags #6300

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading