diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-04-05 02:21:24 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-04-05 02:21:24 +0400 |
commit | c3905009c4379a12475d108c4aebd3b81e6914b3 (patch) | |
tree | 9a09a6e58dddbe7fbe94a30bca0a87aceada21b4 /source/blender/src/transform_generics.c | |
parent | 1bdc909555f3065a7a79b9c75e2fd828e2fc1e8c (diff) |
No need for unions in transform code.
Unneeded size optimisation.
There's much better way to tackle this if it really is a problem.
Diffstat (limited to 'source/blender/src/transform_generics.c')
-rw-r--r-- | source/blender/src/transform_generics.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c index e5ab7bc5c1c..f5fc3ce517b 100644 --- a/source/blender/src/transform_generics.c +++ b/source/blender/src/transform_generics.c @@ -255,7 +255,7 @@ static void editmesh_apply_to_mirror(TransInfo *t) if (td->flag & TD_SKIP) continue; - eve= td->misc.tdmir; + eve = td->tdmir; if(eve) { eve->co[0]= -td->loc[0]; eve->co[1]= td->loc[1]; @@ -721,7 +721,7 @@ void postTrans (TransInfo *t) /* since ipokeys are optional on objects, we mallocced them per trans-data */ for(a=0, td= t->data; a<t->total; a++, td++) { if(td->tdi) MEM_freeN(td->tdi); - if (td->flag & TD_BEZTRIPLE) MEM_freeN(td->misc.hdata); + if (td->flag & TD_BEZTRIPLE) MEM_freeN(td->hdata); } MEM_freeN(t->data); } @@ -787,8 +787,8 @@ static void restoreElement(TransData *td) { } if (td->flag & TD_BEZTRIPLE) { - *(td->misc.hdata->h1) = td->misc.hdata->ih1; - *(td->misc.hdata->h2) = td->misc.hdata->ih2; + *(td->hdata->h1) = td->hdata->ih1; + *(td->hdata->h2) = td->hdata->ih2; } if(td->tdi) { |