diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2019-02-26 15:33:41 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2019-02-26 15:35:54 +0300 |
commit | f76c15efb70207cf4e92708e0565110bbae854ab (patch) | |
tree | 9c6c2aa2f2c05dc01ccc1360c717b3a9aa205ca8 /source/blender/makesdna | |
parent | 95b7d2be2c8dd87744f9d6ac5bb98f33f4f0875a (diff) |
Bevel mod: cleanup flags and extra data.
Removed a clnors field unneeded after a recent refactor.
Finished deprecation of flags that haven't been used since pre-bmesh.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index f5531c74ad1..f3ef9683607 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -357,10 +357,6 @@ enum { MOD_EDGESPLIT_FROMFLAG = (1 << 2), }; -typedef struct BevelModNorEditData { - struct GHash *faceHash; -} BevelModNorEditData; - typedef struct BevelModifierData { ModifierData modifier; @@ -393,25 +389,21 @@ typedef struct BevelModifierData { /** if the MOD_BEVEL_VWEIGHT option is set, * this will be the name of the vert group, MAX_VGROUP_NAME */ char defgrp_name[64]; - struct BevelModNorEditData clnordata; } BevelModifierData; /* BevelModifierData->flags and BevelModifierData->lim_flags */ enum { MOD_BEVEL_VERT = (1 << 1), -/* MOD_BEVEL_RADIUS = (1 << 2), */ +/* unused = (1 << 2), */ MOD_BEVEL_ANGLE = (1 << 3), MOD_BEVEL_WEIGHT = (1 << 4), MOD_BEVEL_VGROUP = (1 << 5), - MOD_BEVEL_EMIN = (1 << 7), - MOD_BEVEL_EMAX = (1 << 8), -/* MOD_BEVEL_RUNNING = (1 << 9), */ -/* MOD_BEVEL_RES = (1 << 10), */ - /* This is a new setting not related to old (trunk bmesh bevel code) - * but adding here because they are mixed - campbell - */ -/* MOD_BEVEL_EVEN = (1 << 11), */ -/* MOD_BEVEL_DIST = (1 << 12), */ /* same as above */ +/* unused = (1 << 7), */ +/* unused = (1 << 8), */ +/* unused = (1 << 9), */ +/* unused = (1 << 10), */ +/* unused = (1 << 11), */ +/* unused = (1 << 12), */ MOD_BEVEL_OVERLAP_OK = (1 << 13), MOD_BEVEL_EVEN_WIDTHS = (1 << 14), MOD_BEVEL_HARDEN_NORMALS = (1 << 15), |