Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2008-02-05 22:31:21 +0300
committerKent Mein <mein@cs.umn.edu>2008-02-05 22:31:21 +0300
commit37d139ea54029589b34807c59f0108d51b415ef3 (patch)
tree3404404e728047f27ae641e4aca8d6e51048718d /source/blender/python/api2_2x/sceneRender.c
parent217b3647b1a1d56390b0795a59c7f82bc6e1d93a (diff)
This is patch: [#8228] Add MultiLayer image type to python and batch rendering
Submitted By: Stephane SOPPERA (soppera) Also fixes a small typo with wrong filetype for TIFF commandline rendering. Kent
Diffstat (limited to 'source/blender/python/api2_2x/sceneRender.c')
-rw-r--r--source/blender/python/api2_2x/sceneRender.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c
index 9b96d4aa12a..581c6132581 100644
--- a/source/blender/python/api2_2x/sceneRender.c
+++ b/source/blender/python/api2_2x/sceneRender.c
@@ -994,6 +994,7 @@ static int RenderData_setImageType( BPy_RenderData *self, PyObject *value )
#endif
#ifdef WITH_OPENEXR
case R_OPENEXR :
+ case R_MULTILAYER :
#endif
#ifdef WITH_FFMPEG
case R_FFMPEG :
@@ -3720,6 +3721,7 @@ PyObject *Render_Init( void )
PyModule_AddIntConstant( submodule, "SKYDOME", PY_SKYDOME );
PyModule_AddIntConstant( submodule, "GIFULL", PY_FULL );
PyModule_AddIntConstant( submodule, "OPENEXR", R_OPENEXR );
+ PyModule_AddIntConstant( submodule, "MULTILAYER", R_MULTILAYER );
PyModule_AddIntConstant( submodule, "TIFF", R_TIFF );
PyModule_AddIntConstant( submodule, "FFMPEG", R_FFMPEG );
PyModule_AddIntConstant( submodule, "CINEON", R_CINEON );