ayon-core/pype/plugins/maya/create/create_vrayproxy.py
2018-10-18 13:59:58 +02:00

26 lines
583 B
Python

from collections import OrderedDict
import avalon.maya
class CreateVrayProxy(avalon.maya.Creator):
"""Alembic pointcache for animated data"""
name = "vrayproxy"
label = "VRay Proxy"
family = "vrayproxy"
icon = "gears"
def __init__(self, *args, **kwargs):
super(CreateVrayProxy, self).__init__(*args, **kwargs)
data = OrderedDict(**self.data)
data["animation"] = False
data["startFrame"] = 1
data["endFrame"] = 1
# Write vertex colors
data["vertexColors"] = False
self.data.update(data)