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
Notes: blender-bot 2023-02-14 10:52:10 +01:00
Referenced by issue #39526, CUDA kernel compilation fails with PTX assembler internal failure
2 changed files with 0 additions and 7 deletions

View File

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

View File

@ -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++;