diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-06-20 00:56:01 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-06-20 00:56:01 +0300 |
commit | 466e716495ffd8ed6030e6a5c7f64d78b774a9da (patch) | |
tree | dee18549dfdf30e2836dfb8e30b59a69e923a998 /source/blender/makesdna/DNA_modifier_types.h | |
parent | ab72cd2fc125927e5a3af0cf88cee8232152ffe0 (diff) |
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.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 1413db4baea..3b21cf1ccda 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -446,6 +446,7 @@ enum { MOD_BEVEL_AMT_WIDTH = 1, MOD_BEVEL_AMT_DEPTH = 2, MOD_BEVEL_AMT_PERCENT = 3, + MOD_BEVEL_AMT_ABSOLUTE = 4, }; /* BevelModifierData->edge_flags */ |