From 5b006efcbec376c06a103121d5f5cd12d9eb83be Mon Sep 17 00:00:00 2001 From: aardschok Date: Thu, 19 Oct 2017 11:43:33 +0200 Subject: [PATCH] added render attribute constants --- colorbleed/maya/lib.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/colorbleed/maya/lib.py b/colorbleed/maya/lib.py index 3c75e6c14d..efb29ed35c 100644 --- a/colorbleed/maya/lib.py +++ b/colorbleed/maya/lib.py @@ -40,6 +40,22 @@ SHAPE_ATTRS = ["castsShadows", "doubleSided", "opposite"] +RENDER_ATTRS = {"vray": + { + "node": "vraySettings", + "prefix": "fileNamePrefix", + "padding": "fileNamePadding", + "ext": "imageFormatStr" + }, + "default": + { + "node": "defaultRenderGlobals", + "prefix": "imageFilePrefix", + "padding": "extensionPadding" + } + } + + SHAPE_ATTRS = set(SHAPE_ATTRS)