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:
authorCampbell Barton <ideasman42@gmail.com>2007-03-16 14:38:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-16 14:38:02 +0300
commitbc1fdcd858cc1064fd4b03dac5cc058f22e2b02d (patch)
tree0205cceea8dbc978db1b7289027268bc3a3035e3 /source/blender/python/api2_2x/MTex.c
parentc5f4a0a1b063716982d7e50c872894d39b0dea7c (diff)
type initialization updates, and refcount fix for lamp, reverted some changes to NMesh
Diffstat (limited to 'source/blender/python/api2_2x/MTex.c')
-rw-r--r--source/blender/python/api2_2x/MTex.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/MTex.c b/source/blender/python/api2_2x/MTex.c
index 61ea64a68e9..4f7cff35c11 100644
--- a/source/blender/python/api2_2x/MTex.c
+++ b/source/blender/python/api2_2x/MTex.c
@@ -242,10 +242,7 @@ PyObject *MTex_Init( void )
/* call PyType_Ready() to init dictionaries & such */
if( PyType_Ready( &MTex_Type) < 0)
- return NULL;
-
- /* So do we need this? */
-/* MTex_Type.ob_type = &PyType_Type;*/
+ Py_RETURN_NONE;
submodule = Py_InitModule( "Blender.Texture.MTex", M_MTex_methods );