diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-09 06:59:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-09 07:09:55 +0300 |
commit | 6554207841a452cc58857232837740746a1e8b80 (patch) | |
tree | d904fb81f7b9321fb7a9b3fdb66c6b4db01107b6 /source/blender/makesdna/DNA_modifier_types.h | |
parent | 850f73638ce96ba87e1fbb1b7185f9021d857e8f (diff) |
Add deform axis for Simple Deform modifier
D2989 by @dmarra w/ own edits
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index fc0bf59518c..f7136e6e438 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -868,8 +868,8 @@ typedef struct SimpleDeformModifierData { char mode; /* deform function */ char axis; /* lock axis (for taper and strech) */ + char deform_axis; /* axis to perform the deform on (default is X, but can be overridden by origin */ char flag; - char pad; } SimpleDeformModifierData; @@ -889,6 +889,7 @@ enum { enum { MOD_SIMPLEDEFORM_LOCK_AXIS_X = (1 << 0), MOD_SIMPLEDEFORM_LOCK_AXIS_Y = (1 << 1), + MOD_SIMPLEDEFORM_LOCK_AXIS_Z = (1 << 2), }; typedef struct ShapeKeyModifierData { |