bmesh api name change, add _count suffix for BM_*_share functions.
[blender.git] / source / blender / bmesh / operators / bmo_create.c
index b93e12fbfc45e50c970ed3ad331b183a3ae6f1c3..8a928669177a6e68f941867862c7f1a402b20827 100644 (file)
@@ -1140,10 +1140,10 @@ void bmesh_edgenet_prepare(BMesh *bm, BMOperator *op)
        }
 
        if (edges1 && BLI_array_count(edges1) > 2 &&
-           BM_edge_share_vert(edges1[0], edges1[BLI_array_count(edges1) - 1]))
+           BM_edge_share_vert_count(edges1[0], edges1[BLI_array_count(edges1) - 1]))
        {
                if (edges2 && BLI_array_count(edges2) > 2 &&
-                   BM_edge_share_vert(edges2[0], edges2[BLI_array_count(edges2) - 1]))
+                   BM_edge_share_vert_count(edges2[0], edges2[BLI_array_count(edges2) - 1]))
                {
                        BLI_array_free(edges1);
                        BLI_array_free(edges2);
@@ -1156,7 +1156,7 @@ void bmesh_edgenet_prepare(BMesh *bm, BMOperator *op)
        }
 
        if (edges2 && BLI_array_count(edges2) > 2 &&
-           BM_edge_share_vert(edges2[0], edges2[BLI_array_count(edges2) - 1]))
+           BM_edge_share_vert_count(edges2[0], edges2[BLI_array_count(edges2) - 1]))
        {
                edges2 = NULL;
        }