diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-11 23:58:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-11 23:58:46 +0400 |
commit | e459d5518ec2ac19e22e480e685ca8c1fbd318f8 (patch) | |
tree | da06bdb518a368fed8440314162a09be310ced99 /source/blender/src/editface.c | |
parent | 96486b356f7d035a7abc835adbef850c3f314264 (diff) |
transform manipulator didnt follow the active face in some cases, also rotate about active mixed with normal did not work as it did in 2.45, where the active edge could be used
as a rotation
axis (this is quite useful)
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r-- | source/blender/src/editface.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index d89af858f21..781210cd373 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -151,33 +151,6 @@ int facesel_face_pick(Mesh *me, short *mval, unsigned int *index, short rect) return 1; } -#if 0 // not used -/* returns 0 if not found, otherwise 1 */ -static int facesel_edge_pick(Mesh *me, short *mval, unsigned int *index) -{ - int dist; - unsigned int min = me->totface + 1; - unsigned int max = me->totface + me->totedge + 1; - - if (me->totedge == 0) - return 0; - - if (G.vd->flag & V3D_NEEDBACKBUFDRAW) { - check_backbuf(); - persp(PERSP_VIEW); - } - - *index = sample_backbuf_rect(mval, 50, min, max, &dist,0,NULL); - - if (*index == 0) - return 0; - - (*index)--; - - return 1; -} -#endif - /* only operates on the edit object - this is all thats needed at the moment */ static void uv_calc_center_vector(float *result, Object *ob, EditMesh *em) { |