mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
trayp: collect review input to instance data
This commit is contained in:
parent
7e6569fdd2
commit
9787947573
1 changed files with 0 additions and 4 deletions
|
|
@ -19,12 +19,8 @@ class CollectEditorialReviewable(pyblish.api.InstancePlugin):
|
|||
return
|
||||
|
||||
creator_attributes = instance.data["creator_attributes"]
|
||||
repre = instance.data["representations"][0]
|
||||
|
||||
if creator_attributes["add_review_family"]:
|
||||
repre["tags"].append("review")
|
||||
instance.data["families"].append("review")
|
||||
|
||||
instance.data["representations"] = [repre]
|
||||
|
||||
self.log.debug("instance.data {}".format(instance.data))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue