Fix simple instances for Tray Publisher.

This commit is contained in:
Toke Stuart Jepsen 2024-01-23 17:36:53 +00:00
parent a9e683f1e3
commit 26409d4fec

View file

@ -216,6 +216,11 @@ class CollectSettingsSimpleInstances(pyblish.api.InstancePlugin):
instance.data["thumbnailSource"] = first_filepath
review_representation["tags"].append("review")
# Adding "review" to representation name since it can clash with main
# representation if they share the same extension.
review_representation["outputName"] = "review"
self.log.debug("Representation {} was marked for review. {}".format(
review_representation["name"], review_path
))