From ad700ba24fbc8ee8e216090bdb8157234409b29d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 16 Nov 2007 14:47:31 +0000 Subject: * wizard_curve2tree.py - Automatic alpha blended, textured image joins using material textures and UV layers. Also added some detail options and made it easier to get low poly results. * Mesh.c bugfix, "mesh.verts = None" didn't set the mesh->mselect pointer to NULL, wizard_curve2tree so would crash when in editmode. * Texture.py - MTex.uvlayer doc was missing * buttons_shading.c - Stencil tooltip was stupid. --- source/blender/python/api2_2x/Mesh.c | 2 +- source/blender/python/api2_2x/doc/Texture.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x') diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 88fa09bd607..7430c2a6e91 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -7585,7 +7585,7 @@ static int Mesh_setVerts( BPy_Mesh * self, PyObject * args ) free_mesh( me ); me->mvert = NULL; me->medge = NULL; me->mface = NULL; me->mtface = NULL; me->dvert = NULL; me->mcol = NULL; - me->msticky = NULL; me->mat = NULL; me->bb = NULL; + me->msticky = NULL; me->mat = NULL; me->bb = NULL; me->mselect = NULL; me->totvert = me->totedge = me->totface = me->totcol = 0; mesh_update( me ); return 0; diff --git a/source/blender/python/api2_2x/doc/Texture.py b/source/blender/python/api2_2x/doc/Texture.py index 823f34b14bd..dfba93c9978 100644 --- a/source/blender/python/api2_2x/doc/Texture.py +++ b/source/blender/python/api2_2x/doc/Texture.py @@ -532,6 +532,8 @@ class MTex: @ivar mtAmb: How texture maps to ambient value @ivar mtDisp: How texture maps to displacement @ivar mtWarp: How texture maps to warp + @ivar uvlayer: The name of the UV Layer this texture is mapped to (when left blank uses render layer) + @type uvlayer: string """ def getIpo(): -- cgit v1.2.3