missed a call in transform editmode active pivot to calculateCenter2D, now it works as expected.

This commit is contained in:
2006-07-03 09:23:08 +00:00
parent b6c9d86905
commit c21b1c78eb

View File

@@ -728,11 +728,12 @@ void calculateCenter(TransInfo *t)
case V3D_ACTIVE:
/* set median, and if if if... do object center */
/* EDIT MODE ACTIVE FACE */
/* EDIT MODE ACTIVE EDITMODE ELEMENT */
if (G.obedit && G.obedit->type == OB_MESH && G.editMesh->selected.last) {
EM_editselection_center(t->center, G.editMesh->selected.last);
calculateCenter2D(t);
break;
} /* END EDIT MODE ACTIVE FACE */
} /* END EDIT MODE ACTIVE ELEMENT */
calculateCenterMedian(t);
if((t->flag & (T_EDIT|T_POSE))==0) {