diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-05-26 16:58:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-05-26 16:58:46 +0400 |
commit | deffce3c19ced621f3432a145b5b21b323ef9d6a (patch) | |
tree | 6b62be8dad8db2462dd6e99de2cf2255e6dda943 /source/blender/python/api2_2x/Mesh.c | |
parent | 30dd4fafd13e84ed7363c0c0f6ab17a384098450 (diff) |
Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
Lattice.c - removed warning
Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe.
mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks.
Removing NAN verts didnt work with mesh keyframes.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.c')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 212298e3dce..acb95919916 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -5408,15 +5408,13 @@ static PyObject *Mesh_Update( BPy_Mesh * self, PyObject *args, PyObject *kwd ) "Cannot update the key for this mesh, it has no shape keys"); for (kb = key->block.first; kb; kb=kb->next) - if (strcmp(blockname, kb->name)) + if (strcmp(blockname, kb->name)==0) break; if (!kb) return EXPP_ReturnPyObjError( PyExc_ValueError, "This requested key to update does not exist"); - printf("KEYBLOCKNAME %s\n", kb->name); - for(i=0, co= kb->data; i<me->totvert; i++, mv++, co++) VECCOPY(*co, mv->co); } else { |