Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-05-11 23:58:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-11 23:58:46 +0400
commite459d5518ec2ac19e22e480e685ca8c1fbd318f8 (patch)
treeda06bdb518a368fed8440314162a09be310ced99 /source/blender/src/editface.c
parent96486b356f7d035a7abc835adbef850c3f314264 (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.c27
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)
{