mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
renderlayer settings creator
This commit is contained in:
parent
d9c75f886d
commit
f27f986360
1 changed files with 26 additions and 0 deletions
26
colorbleed/plugins/maya/create/colorbleed_rendersettings.py
Normal file
26
colorbleed/plugins/maya/create/colorbleed_rendersettings.py
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
from collections import OrderedDict
|
||||
|
||||
import avalon.maya
|
||||
from colorbleed.maya import lib
|
||||
|
||||
|
||||
class CreateRenderSettings(avalon.maya.Creator):
|
||||
|
||||
label = "Render Settings"
|
||||
family = "colorbleed.rendersettings"
|
||||
icon = "gears"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateRenderSettings, self).__init__(*args, **kwargs)
|
||||
|
||||
data = OrderedDict(**self.data)
|
||||
|
||||
data["publish"] = True
|
||||
data["includeDefaultRenderLayer"] = False
|
||||
data["overrideFrameRange"] = False
|
||||
|
||||
# Get basic animation data : start / end / handles / steps
|
||||
for key, value in lib.collect_animation_data().items():
|
||||
data[key] = value
|
||||
|
||||
self.data = data
|
||||
Loading…
Add table
Add a link
Reference in a new issue