bmesh api name change, add _count suffix for BM_*_share functions.
[blender.git] / source / blender / bmesh / tools / BME_bevel.c
index 385c56627164112231ddf8fce9652aceffa668c4..758e2479dd3903049c971e8686bcd9718d6431b8 100644 (file)
@@ -829,7 +829,7 @@ static void bevel_init_edges(BMesh *bm, int options, BME_TransData_Head *td)
        /* clean up edges with 2 faces that share more than one edg */
        BM_ITER(e, &iter, bm, BM_EDGES_OF_MESH, NULL) {
                if(BMO_elem_flag_test(bm, e, BME_BEVEL_BEVEL)) {
-                       count = BM_face_share_edges(e->l->f, e->l->radial_next->f);
+                       count = BM_face_share_edge_count(e->l->f, e->l->radial_next->f);
                        if(count > 1) BMO_elem_flag_disable(bm, e, BME_BEVEL_BEVEL);
                }
        }