Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-03-07 03:28:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-03-07 03:28:21 +0300
commit42e86602721170c8fbb9d68a1a201a1d78052d72 (patch)
treedabffbe52a3fca5735d4435057fa8f53ff1142f5 /source/blender/makesdna/DNA_modifier_types.h
parentd086f6aa5c26d445aef1ebd04e6c8501f6189d91 (diff)
Simple Deform modifier: invert vgroup option
D1839 from @Orgold
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index c2159510937..457db70cd28 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -848,10 +848,17 @@ typedef struct SimpleDeformModifierData {
char mode; /* deform function */
char axis; /* lock axis (for taper and strech) */
- char pad[2];
+ char flag;
+ char pad;
} SimpleDeformModifierData;
+/* SimpleDeform->flag */
+enum {
+ MOD_SIMPLEDEFORM_FLAG_INVERT_VGROUP = (1 << 0),
+};
+
+
enum {
MOD_SIMPLEDEFORM_MODE_TWIST = 1,
MOD_SIMPLEDEFORM_MODE_BEND = 2,