diff options
author | Matt Ebb <matt@mke3.net> | 2006-10-28 20:48:56 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-10-28 20:48:56 +0400 |
commit | ddbfb04642187505ff8c321fc1febd1a55576f59 (patch) | |
tree | 0899ee60547c2f97ff22ed7d089adbc4b5bd41a1 /source/blender/makesdna | |
parent | 3e0c45440d8fd5998a944699feb5afa033e80918 (diff) |
* Changed the Curve Modifier to have it's own X/Y/Z axis deform direction
settings, rather than using the object's TrackX/Y/Z/etc buttons.
This is good for two reasons: a) having the settings over in the object buttons
before was terribly unintuitive and hidden, now it's more visible how to
control the deformation, and b) now if you have more than one curve modifier,
they can have their own settings, instead of being forced to use the object
level data.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index dee183ec353..65b694961bf 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -75,8 +75,18 @@ typedef struct CurveModifierData { struct Object *object; char name[32]; /* optional vertexgroup name */ + short defaxis; /* axis along which curve deforms */ + char pad[6]; } CurveModifierData; +/* CurveModifierData->defaxis */ +#define MOD_CURVE_POSX 1 +#define MOD_CURVE_POSY 2 +#define MOD_CURVE_POSZ 3 +#define MOD_CURVE_NEGX 4 +#define MOD_CURVE_NEGY 5 +#define MOD_CURVE_NEGZ 6 + typedef struct BuildModifierData { ModifierData modifier; |