mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
added review creator
This commit is contained in:
parent
37d81b0948
commit
189c72e139
1 changed files with 19 additions and 0 deletions
19
pype/plugins/tvpaint/create/create_review.py
Normal file
19
pype/plugins/tvpaint/create/create_review.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
from avalon.tvpaint import pipeline, CommunicationWrapper
|
||||
|
||||
|
||||
class CreateReview(pipeline.TVPaintCreator):
|
||||
"""Arnold Archive"""
|
||||
|
||||
name = "review"
|
||||
label = "Review"
|
||||
family = "review"
|
||||
icon = "cube"
|
||||
defaults = ["Main"]
|
||||
|
||||
def process(self):
|
||||
instances = pipeline.list_instances()
|
||||
for instance in instances:
|
||||
if instance["family"] == self.family:
|
||||
self.log.info("Review family is already Created.")
|
||||
return
|
||||
super(CreateReview, self).process()
|
||||
Loading…
Add table
Add a link
Reference in a new issue