diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-06 22:41:17 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-06 22:42:47 +0300 |
commit | ac7feaed3d4d80c60557b3c4af5eee65bef2e4ec (patch) | |
tree | 944ee4502ec40b8c18ab4e2fb66036276336998c /source/blender/makesdna | |
parent | c8e9e6dda0f9b5bd0a2d07995f8cc0fcc8d334a1 (diff) |
EditNormal modifier: add some 'maximum angle' limit.
Allows to avoid generating flipped faces when using extreme normal modifications.
Related to T48576.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 457db70cd28..a58e995f1c6 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1518,7 +1518,9 @@ typedef struct NormalEditModifierData { short mix_mode; char pad[2]; float mix_factor; + float mix_limit; float offset[3]; + float pad_f1; } NormalEditModifierData; /* NormalEditModifierData.mode */ |