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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-11-23 20:46:06 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-11-23 20:46:06 +0300
commit5e7f9dfa084d978bbcb96dad7ac2bae80789714e (patch)
tree65767c41ef26feb0a7724ad3b4f05daaa69e253e /source/blender/python/api2_2x/Types.c
parent511b098c81913a8ce437ebed6c7f211dd9563f1b (diff)
BPython:
-- New module: Blender.Texture, by new developer Alex Mole. Most of it is done: guess only Ipo, envmap, colorband and plugin were not implemented yet.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c4
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);