remove redundant casts

This commit is contained in:
2011-09-12 15:10:59 +00:00
parent a04003d648
commit f7243ece07
23 changed files with 197 additions and 197 deletions

View File

@@ -605,8 +605,9 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3],
BM_ITER(efa, &iter, em->bm, BM_FACES_OF_MESH, NULL) {
if(BM_TestHFlag(efa, BM_SELECT)) {
VECADD(normal, normal, efa->no);
sub_v3_v3v3(vec, ((BMLoopList*)efa->loops.first)->first->v->co,
(((BMLoopList*)efa->loops.first)->first->next)->v->co);
sub_v3_v3v3(vec,
((BMLoopList*)efa->loops.first)->first->v->co,
(((BMLoopList*)efa->loops.first)->first->next)->v->co);
VECADD(plane, plane, vec);
}
}