diff options
Diffstat (limited to 'source/blender/bmesh/operators/bmo_dissolve.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_dissolve.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/bmesh/operators/bmo_dissolve.c b/source/blender/bmesh/operators/bmo_dissolve.c index 7813e30e2a8..b80df4cce58 100644 --- a/source/blender/bmesh/operators/bmo_dissolve.c +++ b/source/blender/bmesh/operators/bmo_dissolve.c @@ -184,7 +184,7 @@ void bmo_dissolve_faces_exec(BMesh *bm, BMOperator *op) if (BMO_error_occurred(bm)) { BMO_error_clear(bm); - BMO_error_raise(bm, op, BMERR_DISSOLVEFACES_FAILED, NULL); + BMO_error_raise(bm, op, "Could not dissolve faces"); goto cleanup; } @@ -201,8 +201,7 @@ void bmo_dissolve_faces_exec(BMesh *bm, BMOperator *op) faces = regions[i]; if (!faces[0]) { - BMO_error_raise( - bm, op, BMERR_DISSOLVEFACES_FAILED, "Could not find boundary of dissolve region"); + BMO_error_raise(bm, op, "Could not find boundary of dissolve region"); goto cleanup; } @@ -220,7 +219,7 @@ void bmo_dissolve_faces_exec(BMesh *bm, BMOperator *op) totface_target -= tot - 1; } else { - BMO_error_raise(bm, op, BMERR_DISSOLVEFACES_FAILED, "Could not create merged face"); + BMO_error_raise(bm, op, "Could not create merged face"); goto cleanup; } |