diff --git a/source/blender/editors/include/ED_transverts.h b/source/blender/editors/include/ED_transverts.h index e7e30e6ca6f..53ee508c4ab 100644 --- a/source/blender/editors/include/ED_transverts.h +++ b/source/blender/editors/include/ED_transverts.h @@ -36,7 +36,6 @@ struct Object; typedef struct TransVert { float *loc; float oldloc[3], maploc[3]; - float *val, oldval; int flag; } TransVert; diff --git a/source/blender/editors/util/ed_transverts.c b/source/blender/editors/util/ed_transverts.c index 9f41642280b..624ba3756b7 100644 --- a/source/blender/editors/util/ed_transverts.c +++ b/source/blender/editors/util/ed_transverts.c @@ -367,8 +367,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const if (bezt->f2 & SELECT) { copy_v3_v3(tv->oldloc, bezt->vec[1]); tv->loc = bezt->vec[1]; - tv->val = &(bezt->alfa); - tv->oldval = bezt->alfa; tv->flag = bezt->f2 & SELECT; tv++; tvs->transverts_tot++; @@ -392,8 +390,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const if (bp->f1 & SELECT) { copy_v3_v3(tv->oldloc, bp->vec); tv->loc = bp->vec; - tv->val = &(bp->alfa); - tv->oldval = bp->alfa; tv->flag = bp->f1 & SELECT; tv++; tvs->transverts_tot++; @@ -416,8 +412,6 @@ void ED_transverts_create_from_obedit(TransVertStore *tvs, Object *obedit, const if (ml->flag & SELECT) { tv->loc = &ml->x; copy_v3_v3(tv->oldloc, tv->loc); - tv->val = &(ml->rad); - tv->oldval = ml->rad; tv->flag = SELECT; tv++; tvs->transverts_tot++;