remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros...
[blender-staging.git] / source / blender / bmesh / operators / bmo_slide.c
index 4b1c2b56f05eec1def6a56124b8c6e5314cc6bc3..57bda579603b587e8df789d614ea7976fc848e25 100644 (file)
@@ -88,7 +88,7 @@ void bmo_vertex_slide_exec(BMesh *bm, BMOperator *op)
        }
 
        /* Make sure we get the correct edge. */
-       BM_ITER (edge, &iter, bm, BM_EDGES_OF_VERT, vertex) {
+       BM_ITER_ELEM (edge, &iter, vertex, BM_EDGES_OF_VERT) {
                if (BMO_elem_flag_test(bm, edge, EDGE_MARK) && BM_vert_in_edge(edge, vertex)) {
                        slide_edge = edge;
                        break;