BMesh: add ability not to delete vertex when collapsing
[blender.git] / source / blender / bmesh / tools / bmesh_decimate_unsubdivide.c
index ffc680817a7c47454c4fe8c6e8492a82c247317b..db60b3e15e1504d196e2716bba8ce20c8fd6d1d1 100644 (file)
@@ -119,7 +119,7 @@ static bool bm_vert_dissolve_fan(BMesh *bm, BMVert *v)
        if (tot_edge == 2) {
                /* check for 2 wire verts only */
                if (tot_edge_wire == 2) {
-                       return (BM_vert_collapse_edge(bm, v->e, v, true) != NULL);
+                       return (BM_vert_collapse_edge(bm, v->e, v, true, true) != NULL);
                }
        }
        else if (tot_edge == 4) {