Code cleanup: remove unused members of TransVert

This commit is contained in:
Campbell Barton 2014-03-31 09:57:34 +11:00
parent f1962f187f
commit c24c34324c
2 changed files with 0 additions and 7 deletions

@ -36,7 +36,6 @@ struct Object;
typedef struct TransVert { typedef struct TransVert {
float *loc; float *loc;
float oldloc[3], maploc[3]; float oldloc[3], maploc[3];
float *val, oldval;
int flag; int flag;
} TransVert; } TransVert;

@ -367,8 +367,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const
if (bezt->f2 & SELECT) { if (bezt->f2 & SELECT) {
copy_v3_v3(tv->oldloc, bezt->vec[1]); copy_v3_v3(tv->oldloc, bezt->vec[1]);
tv->loc = bezt->vec[1]; tv->loc = bezt->vec[1];
tv->val = &(bezt->alfa);
tv->oldval = bezt->alfa;
tv->flag = bezt->f2 & SELECT; tv->flag = bezt->f2 & SELECT;
tv++; tv++;
tvs->transverts_tot++; tvs->transverts_tot++;
@ -392,8 +390,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const
if (bp->f1 & SELECT) { if (bp->f1 & SELECT) {
copy_v3_v3(tv->oldloc, bp->vec); copy_v3_v3(tv->oldloc, bp->vec);
tv->loc = bp->vec; tv->loc = bp->vec;
tv->val = &(bp->alfa);
tv->oldval = bp->alfa;
tv->flag = bp->f1 & SELECT; tv->flag = bp->f1 & SELECT;
tv++; tv++;
tvs->transverts_tot++; tvs->transverts_tot++;
@ -416,8 +412,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const
if (ml->flag & SELECT) { if (ml->flag & SELECT) {
tv->loc = &ml->x; tv->loc = &ml->x;
copy_v3_v3(tv->oldloc, tv->loc); copy_v3_v3(tv->oldloc, tv->loc);
tv->val = &(ml->rad);
tv->oldval = ml->rad;
tv->flag = SELECT; tv->flag = SELECT;
tv++; tv++;
tvs->transverts_tot++; tvs->transverts_tot++;