Fix memory leak in edit-mesh dissolve degenerate

This commit is contained in:
Campbell Barton
2021-08-17 16:46:09 +10:00
parent 4c8d68c032
commit cb40c7ca1f

View File

@@ -6314,7 +6314,7 @@ static int edbm_dissolve_degenerate_exec(bContext *C, wmOperator *op)
BMesh *bm = em->bm;
if (!EDBM_op_callf(em, op, "dissolve_degenerate edges=%he dist=%f", BM_ELEM_SELECT, thresh)) {
return OPERATOR_CANCELLED;
continue;
}
/* tricky to maintain correct selection here, so just flush up from verts */