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-24 06:47:49 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-11-24 06:47:49 +0300
commit856e33cefc8dcdefe316cd892c3eadc64d97e4b7 (patch)
tree87bdccbccf974d4ea0b7ff6d6add8ecebb061690 /source/blender/python/api2_2x/Types.c
parent8307f2f5fe2bc110565be32d6553aa349d55268c (diff)
BPython: small update to Types.c and the docs, to finish welcoming the new modules.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c
index 5dbdc8efcfb..dbda9e936e2 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -53,7 +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;
+ Texture_Type.ob_type = &PyType_Type;
+ MTex_Type.ob_type = &PyType_Type;
submodule = Py_InitModule3 ("Blender.Types", Null_methods, M_Types_doc);
@@ -89,6 +90,9 @@ PyObject *Types_Init (void)
PyDict_SetItemString(dict, "LatticeType", (PyObject *)&Lattice_Type);
+ PyDict_SetItemString(dict, "TextureType", (PyObject *)&Texture_Type);
+ PyDict_SetItemString(dict, "MTexType", (PyObject *)&MTex_Type);
+
/* External helper Types available to the main ones above */
PyDict_SetItemString(dict, "vectorType", (PyObject *)&vector_Type);