diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-06 13:39:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-06 13:39:47 +0400 |
commit | 0adcdbc77d2fe356a69dc95b2021428a873c9de7 (patch) | |
tree | 124987e2ebe11675ac336a5147cd7a2cfeb148db /source/blender/editors/mesh/meshtools.c | |
parent | 191c160d500a613142018002ca41f0f05a618e84 (diff) |
Code Cleanup: comment, remove or use unused functions.
Diffstat (limited to 'source/blender/editors/mesh/meshtools.c')
-rw-r--r-- | source/blender/editors/mesh/meshtools.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/meshtools.c b/source/blender/editors/mesh/meshtools.c index 2f863d5f9ab..2b3be42ac67 100644 --- a/source/blender/editors/mesh/meshtools.c +++ b/source/blender/editors/mesh/meshtools.c @@ -1007,14 +1007,16 @@ static BMVert *editbmesh_get_x_mirror_vert_topo(Object *ob, struct BMEditMesh *e BMVert *editbmesh_get_x_mirror_vert(Object *ob, struct BMEditMesh *em, BMVert *eve, float *co, int index) { - //BMESH_TODO use this flag, ME_EDIT_MIRROR_TOPO, at appropriate places if (((Mesh *)ob->data)->editflag & ME_EDIT_MIRROR_TOPO) { return editbmesh_get_x_mirror_vert_topo(ob, em, eve, index); - } else { + } + else { return editbmesh_get_x_mirror_vert_spacial(ob, em, co); } } +#if 0 + static float *editmesh_get_mirror_uv(BMEditMesh *em, int axis, float *uv, float *mirrCent, float *face_cent) { float vec[2]; @@ -1067,6 +1069,8 @@ static float *editmesh_get_mirror_uv(BMEditMesh *em, int axis, float *uv, float return NULL; } +#endif + static unsigned int mirror_facehash(const void *ptr) { const MFace *mf= ptr; |