remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros...
[blender-staging.git] / source / blender / blenkernel / intern / object.c
index f93592b769b7f6e6a160f562f8b5e953ebb85933..3271a623584ee1a13db367e9fda91d758287f705 100644 (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) {