diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-24 15:52:31 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-24 15:52:31 +0400 |
commit | 48bc5b2ac654229832752e7f8593f0dda2ccf80c (patch) | |
tree | 8dc6a2dcbdffea876e5e5a5d0bb8d386d5a1aa7b /source/blender/makesdna/DNA_modifier_types.h | |
parent | 3b09c0b0d5a5bea78f0832532f8c206280ae6456 (diff) |
Made Object-level copy constraints work the same as for bones now too
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 114dfe10bae..3e8f8702003 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -37,6 +37,7 @@ typedef enum ModifierType { eModifierType_Bevel, eModifierType_Shrinkwrap, eModifierType_Fluidsim, + eModifierType_Mask, NUM_MODIFIER_TYPES } ModifierType; @@ -105,6 +106,24 @@ typedef struct BuildModifierData { int randomize, seed; } BuildModifierData; +/* Mask Modifier */ +typedef struct MaskModifierData { + ModifierData modifier; + + struct Object *ob_arm; /* armature to use to in place of hardcoded vgroup */ + char vgroup[32]; /* name of vertex group to use to mask */ + + int mode; /* using armature or hardcoded vgroup */ + int flag; /* flags for various things */ +} MaskModifierData; + +/* Mask Modifier -> mode */ +#define MOD_MASK_MODE_VGROUP 0 +#define MOD_MASK_MODE_ARM 1 + +/* Mask Modifier -> flag */ +#define MOD_MASK_INV (1<<0) + typedef struct ArrayModifierData { ModifierData modifier; |