diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-16 14:38:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-16 14:38:02 +0300 |
commit | bc1fdcd858cc1064fd4b03dac5cc058f22e2b02d (patch) | |
tree | 0205cceea8dbc978db1b7289027268bc3a3035e3 /source/blender/python/api2_2x/MTex.c | |
parent | c5f4a0a1b063716982d7e50c872894d39b0dea7c (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.c | 5 |
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 ); |