From 466e716495ffd8ed6030e6a5c7f64d78b774a9da Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Fri, 19 Jun 2020 17:56:01 -0400 Subject: Bevel: add new 'Absolute' mode for interpreting 'amount' value. This mode is like Percent, but measures absolute distance along adjacent edges instead of a percentage. So, for example, if you use this mode with 2 segments and profile=1, you will see the length that the bevel moves along unbeveled edges between beveled ones will match the value specified. Many users seem to expect this behavior, even though it means the bevel width is uneven, so this option is for them. --- source/blender/bmesh/intern/bmesh_operators.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/bmesh/intern/bmesh_operators.h') diff --git a/source/blender/bmesh/intern/bmesh_operators.h b/source/blender/bmesh/intern/bmesh_operators.h index 9f0107db693..b6c77c151e2 100644 --- a/source/blender/bmesh/intern/bmesh_operators.h +++ b/source/blender/bmesh/intern/bmesh_operators.h @@ -109,6 +109,7 @@ enum { BEVEL_AMT_WIDTH, BEVEL_AMT_DEPTH, BEVEL_AMT_PERCENT, + BEVEL_AMT_ABSOLUTE, }; /* Bevel face_strength_mode values: should match face_str mode enum in DNA_modifer_types.h */ -- cgit v1.2.3