remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros...
[blender-staging.git] / source / blender / editors / mesh / editface.c
index f1d0d63ba03a8337822ae6ee008d62e03ef88a6a..f38bdb1ebe32a748ed4f0faf0e9d409e6e98c76c 100644 (file)
@@ -814,7 +814,7 @@ void ED_mesh_mirrtopo_init(Mesh *me, const int ob_mode, MirrTopoStore_t *mesh_to
        if (em) {
                totedge = me->edit_btmesh->bm->totedge;
 
-               BM_ITER (eed, &iter, em->bm, BM_EDGES_OF_MESH, NULL) {
+               BM_ITER_MESH (eed, &iter, em->bm, BM_EDGES_OF_MESH) {
                        topo_hash[BM_elem_index_get(eed->v1)]++;
                        topo_hash[BM_elem_index_get(eed->v2)]++;
                }
@@ -835,7 +835,7 @@ void ED_mesh_mirrtopo_init(Mesh *me, const int ob_mode, MirrTopoStore_t *mesh_to
                /* use the number of edges per vert to give verts unique topology IDs */
 
                if (em) {
-                       BM_ITER (eed, &iter, em->bm, BM_EDGES_OF_MESH, NULL) {
+                       BM_ITER_MESH (eed, &iter, em->bm, BM_EDGES_OF_MESH) {
                                topo_hash[BM_elem_index_get(eed->v1)] += topo_hash_prev[BM_elem_index_get(eed->v2)];
                                topo_hash[BM_elem_index_get(eed->v2)] += topo_hash_prev[BM_elem_index_get(eed->v1)];
                        }