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:
authorJoseph Gilbert <ascotan@gmail.com>2004-04-25 09:18:43 +0400
committerJoseph Gilbert <ascotan@gmail.com>2004-04-25 09:18:43 +0400
commit395c1152c80d781b386125ca8da605f3893aa322 (patch)
tree66980865eac528a3c7b3d823016f8052a1824696 /source/blender/python/api2_2x/Types.c
parentf47ec62b07de1342ee0e2a9f8ac71a8c8fd30dc2 (diff)
- finalize scene.render module
- added some constants for the rendering module to blender module - moved rendering functions from scene to scene.render - rendering functions called from renderData struct instead of from scene directly - getRenderingContext() returns rendering data struct - deprecation of old scene functions - some formatting/documentation of code
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c
index 8acc3b6abbe..5705ecee415 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -68,6 +68,7 @@ void types_InitAll(void)
NMesh_Type.ob_type = &PyType_Type;
Object_Type.ob_type = &PyType_Type;
Particle_Type.ob_type = &PyType_Type;
+ RenderData_Type.ob_type = &PyType_Type;
Scene_Type.ob_type = &PyType_Type;
Text_Type.ob_type = &PyType_Type;
Texture_Type.ob_type = &PyType_Type;
@@ -100,6 +101,7 @@ PyObject *Types_Init (void)
/* Blender Object Data Types */
PyDict_SetItemString(dict, "SceneType", (PyObject *)&Scene_Type);
+ PyDict_SetItemString(dict, "RenderDataType", (PyObject *)&RenderData_Type);
PyDict_SetItemString(dict, "NMeshType", (PyObject *)&NMesh_Type);
PyDict_SetItemString(dict, "NMFaceType", (PyObject *)&NMFace_Type);