diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 03:18:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 04:21:05 +0300 |
commit | 71d6fbcd516db196d68088319ede5d2ffd254d71 (patch) | |
tree | 65eca2d8b4f650109d9d54f4446763b840143cb0 /source/blender/bmesh/intern/bmesh_operators.c | |
parent | 146fe1decfd9fe8760df6d184770d6c8c2a5d994 (diff) |
Fix missing error message on convex hull failure
Also remove unused errors.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_operators.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_operators.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c index 2534a8c35ad..d4a3ecb73db 100644 --- a/source/blender/bmesh/intern/bmesh_operators.c +++ b/source/blender/bmesh/intern/bmesh_operators.c @@ -44,18 +44,14 @@ static int bmo_name_to_slotcode_check(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], static const char *bmo_error_messages[] = { NULL, - N_("Self intersection error"), - N_("Could not dissolve vert"), N_("Could not connect vertices"), - N_("Could not traverse mesh"), N_("Could not dissolve faces"), - N_("Tessellation error"), - N_("Cannot deal with non-manifold geometry"), N_("Invalid selection"), N_("Internal mesh error"), + N_("Convex hull failed"), }; -BLI_STATIC_ASSERT(ARRAY_SIZE(bmo_error_messages) + 1 == BMERR_TOTAL, "message mismatch"); +BLI_STATIC_ASSERT(ARRAY_SIZE(bmo_error_messages) == BMERR_TOTAL, "message mismatch"); /* operator slot type information - size of one element of the type given. */ const int BMO_OPSLOT_TYPEINFO[BMO_OP_SLOT_TOTAL_TYPES] = { |