remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros...
[blender-staging.git] / source / blender / editors / mesh / editmesh_loopcut.c
index a41059ef3caabfdd94139da9f18468cd021f83c0..27e3e643be14a9b8f9e06751f843a155caaecb91 100644 (file)
@@ -145,7 +145,7 @@ static void edgering_find_order(BMEditMesh *em, BMEdge *lasteed, BMEdge *eed,
 
        /* find correct order for v[1] */
        if (!(BM_edge_in_face(l->f, eed) && BM_edge_in_face(l->f, lasteed))) {
-               BM_ITER (l, &liter, em->bm, BM_LOOPS_OF_LOOP, l) {
+               BM_ITER_ELEM (l, &liter, l, BM_LOOPS_OF_LOOP) {
                        if (BM_edge_in_face(l->f, eed) && BM_edge_in_face(l->f, lasteed))
                                break;
                }