diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-09-03 08:13:08 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-09-03 08:13:08 +0400 |
commit | a09e5a7f2f3ae81f504106eeb62373bb99b39b51 (patch) | |
tree | 838de24f316bcf1a5a1d15d057338ef8cf2d7108 /source/blender/python/api2_2x/Types.c | |
parent | 65746ab10a1031e4a1275c21051bce0064be5219 (diff) |
Exppython:
- Window: added .GetCursorPos()
- Lamp: updated for NoDiffuse and NoSpecular modes
- Registry: new module to handle persistent data
- vector: made it correctly print only 3 values when vec->size==3:
Fixes nmvert coords printed with a 4th 0.0 coordinate
- Text: fixed crash on startup (Python 2.3, linux):
added definition of the Text pyobject earlier, in Types.c
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 7a26c88b6e7..5fc56c3248f 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -50,6 +50,9 @@ PyObject *Types_Init (void) buffer_Type.ob_type = &PyType_Type; Button_Type.ob_type = &PyType_Type; + /* Another one that needs to be here: */ + Text_Type.ob_type = &PyType_Type; + submodule = Py_InitModule3 ("Blender.Types", Null_methods, M_Types_doc); dict = PyModule_GetDict(submodule); |