mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
26 lines
583 B
Python
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)
|