Merge pull request #4779 from ynput/bugfix/OP-5543_DV-Resolve-integration

This commit is contained in:
Jakub Ježek 2023-04-05 12:17:47 +02:00 committed by GitHub
commit 0019ff6f7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,9 @@ class CollectOtioReview(pyblish.api.InstancePlugin):
otio_review_clips.append(otio_gap)
if otio_review_clips:
instance.data["label"] += " (review)"
# add review track to instance and change label to reflect it
label = instance.data.get("label", instance.data["subset"])
instance.data["label"] = label + " (review)"
instance.data["families"] += ["review", "ftrack"]
instance.data["otioReviewClips"] = otio_review_clips
self.log.info(