diff options
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 843a5ca79e4..5dbdc8efcfb 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -24,7 +24,7 @@ * * This is a new part of Blender. * - * Contributor(s): Willian P. Germano + * Contributor(s): Willian P. Germano, Alex Mole * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ @@ -53,6 +53,8 @@ PyObject *Types_Init (void) /* Another one that needs to be here: */ Text_Type.ob_type = &PyType_Type; + Texture_Type.ob_type = &PyType_Type; + submodule = Py_InitModule3 ("Blender.Types", Null_methods, M_Types_doc); dict = PyModule_GetDict(submodule); |