correct problem with limited-dissolve not leaving the selection correctly (caused...
[blender.git] / source / blender / bmesh / operators / bmo_dissolve.c
index e4f2423ca17805d995768890bd6af663735c9429..a3f674503806e87d95045a75b3ad454b99926d18 100644 (file)
@@ -430,5 +430,8 @@ void bmo_dissolve_limit_exec(BMesh *bm, BMOperator *op)
 
        BM_mesh_decimate_dissolve_ex(bm, angle_limit, do_dissolve_boundaries, delimit,
                                     (BMVert **)BMO_SLOT_AS_BUFFER(vinput), vinput->len,
-                                    (BMEdge **)BMO_SLOT_AS_BUFFER(einput), einput->len);
+                                    (BMEdge **)BMO_SLOT_AS_BUFFER(einput), einput->len,
+                                    FACE_NEW);
+
+       BMO_slot_buffer_from_enabled_flag(bm, op, op->slots_out, "region.out", BM_FACE, FACE_NEW);
 }