remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).

This commit is contained in:
2012-04-19 13:47:58 +00:00
parent 9276d7aeb2
commit 475ecbb0ce
72 changed files with 727 additions and 728 deletions

View File

@@ -1770,7 +1770,7 @@ static void give_parvert(Object *par, int nr, float vec[3])
BMVert *eve;
BMIter iter;
BM_ITER (eve, &iter, em->bm, BM_VERTS_OF_MESH, NULL) {
BM_ITER_MESH (eve, &iter, em->bm, BM_VERTS_OF_MESH) {
int *keyindex = CustomData_bmesh_get(&em->bm->vdata, eve->head.data, CD_SHAPE_KEYINDEX);
if (keyindex && *keyindex==nr) {