diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-13 08:21:48 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-13 08:21:48 +0400 |
commit | f70302670e0ecb263819c3ed74e0079d46181e61 (patch) | |
tree | f11c7f6304ad5d0b681d369619452d3fb2997482 /source/blender/python/api2_2x/Types.c | |
parent | bbf8fe932f226314a097ac868d1909546949d53f (diff) |
* Bugs item #169 fixed:
Now Blender.NMesh.PutRaw() doesn't destroy vertex color info anymore.
Both exppython's NMesh.c and bpython's opy_nmesh.c were updated.
* Minor changes in other files.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 2a22c59c014..28339c78134 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -41,12 +41,14 @@ PyObject *M_Types_Init (void) PyObject *submodule, *dict; /* These are only set when some object initializes them. But unless we - * do it now, we get two easy ways to crash Blender. Maybe we'd better + * do it now, we get an easy way to crash Blender. Maybe we'd better * have an Init function for all these internal types that more than one * module can use. We could call it after setting the Blender dictionary */ vector_Type.ob_type = &PyType_Type; rgbTuple_Type.ob_type = &PyType_Type; constant_Type.ob_type = &PyType_Type; + buffer_Type.ob_type = &PyType_Type; + Button_Type.ob_type = &PyType_Type; submodule = Py_InitModule3 ("Blender.Types", Null_methods, M_Types_doc); |