cleaning up family names

This commit is contained in:
Milan Kolar 2018-10-18 13:59:58 +02:00
parent 7bd49bfd4e
commit 7b9ea27f39
164 changed files with 1542 additions and 383 deletions

View file

@ -0,0 +1,36 @@
from collections import OrderedDict
import avalon.maya
from pype.maya import lib
class CreateAnimation(avalon.maya.Creator):
"""Animation output for character rigs"""
name = "animationDefault"
label = "Animation"
family = "animation"
icon = "male"
def __init__(self, *args, **kwargs):
super(CreateAnimation, self).__init__(*args, **kwargs)
# create an ordered dict with the existing data first
data = OrderedDict(**self.data)
# get basic animation data : start / end / handles / steps
for key, value in lib.collect_animation_data().items():
data[key] = value
# Write vertex colors with the geometry.
data["writeColorSets"] = False
# Include only renderable visible shapes.
# Skips locators and empty transforms
data["renderableOnly"] = False
# Include only nodes that are visible at least once during the
# frame range.
data["visibleOnly"] = False
self.data = data