mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
write color sets
This commit is contained in:
parent
31cc505344
commit
affd54bd1a
1 changed files with 1 additions and 7 deletions
|
|
@ -13,18 +13,12 @@ class CreateRig(plugin.Creator):
|
|||
label = "Rig"
|
||||
family = "rig"
|
||||
icon = "wheelchair"
|
||||
write_color_sets = False
|
||||
write_face_sets = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateRig, self).__init__(*args, **kwargs)
|
||||
self.data["writeColorSets"] = self.write_color_sets
|
||||
self.data["writeFaceSets"] = self.write_face_sets
|
||||
|
||||
def process(self):
|
||||
|
||||
with lib.undo_chunk():
|
||||
instance = super(CreateRig, self).process()
|
||||
|
||||
self.log.info("Creating Rig instance set up ...")
|
||||
controls = cmds.sets(name="controls_SET", empty=True)
|
||||
pointcache = cmds.sets(name="out_SET", empty=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue