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:
authorMichel Selten <michel@mselten.demon.nl>2003-06-03 00:15:50 +0400
committerMichel Selten <michel@mselten.demon.nl>2003-06-03 00:15:50 +0400
commita127b387607fea5c0433bde26517a9fe575e72f9 (patch)
treee2d960360b338cbcd0559d377cbdc36717f5b6d0 /source/blender/python/api2_2x/BGL.c
parent271dc5aaf1f025725cd71ffa78a4cdc2b19d8fef (diff)
* Fix compilation errors on Windows hopefully. Implemented the suggestion done
by Aphex - thanks. * Added the doc strings to the Object module. * Added more functionality to the Object module.
Diffstat (limited to 'source/blender/python/api2_2x/BGL.c')
-rw-r--r--source/blender/python/api2_2x/BGL.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/BGL.c b/source/blender/python/api2_2x/BGL.c
index 0f45770c4c8..21451f10272 100644
--- a/source/blender/python/api2_2x/BGL.c
+++ b/source/blender/python/api2_2x/BGL.c
@@ -1000,6 +1000,8 @@ static struct PyMethodDef BGL_methods[] = {
PyObject *M_BGL_Init(void)
{
+ buffer_Type.ob_type = &PyType_Type;
+
PyObject *mod= Py_InitModule("Blender.BGL", BGL_methods);
PyObject *dict= PyModule_GetDict(mod);