diff options
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); |