feat: Add support for multiple reviewable components

This commit adds support for creating multiple reviewable components in the `IntegrateFtrackInstance` plugin. It introduces a new variable `extended_asset_name` to change the asset name of each new component for review. This feature is particularly useful when there are more than one representation to be reviewed.
This commit is contained in:
Jakub Jezek 2023-12-06 12:24:27 +01:00
parent f15c218d65
commit a2c37975aa
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -230,6 +230,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
# Create review components
# Change asset name of each new component for review
multiple_reviewable = len(review_representations) > 1
extended_asset_name = None
for index, repre in enumerate(review_representations):
if not self._is_repre_video(repre) and has_movie_review:
self.log.debug("Movie repre has priority "