diff options
author | Cody Winchester <CodyWinch> | 2020-02-03 13:55:29 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2020-02-03 13:55:29 +0300 |
commit | 7bbbb9ba8a139b96fe9484e05d3db43fb5ad0a18 (patch) | |
tree | 5aa2afa39806b25a50ef42c1ecec3dc904065c90 /source/blender/makesdna/DNA_modifier_types.h | |
parent | 68ab4dd28a22727d088b57a323b8b68284a0198e (diff) |
Displace Modifier add invert vgroup option
Adds the invert vertex weights option to the Displace modifier.
Adds a flag and char padding to the Displace modifier DNA for the invert group boolean.
Differential Revision: https://developer.blender.org/D6686
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 62817c3b563..a203e77ab26 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -492,8 +492,15 @@ typedef struct DisplaceModifierData { char defgrp_name[64]; float midlevel; int space; + short flag; + char _pad[6]; } DisplaceModifierData; +/* DisplaceModifierData->flag */ +enum { + MOD_DISP_INVERT_VGROUP = (1 << 0), +}; + /* DisplaceModifierData->direction */ enum { MOD_DISP_DIR_X = 0, |