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)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user