diff options
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 053f3b38168..9f22a67d11e 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -71,6 +71,7 @@ typedef enum ModifierType { eModifierType_Solidify, eModifierType_Screw, eModifierType_Warp, + eModifierType_DynamicPaint, NUM_MODIFIER_TYPES } ModifierType; @@ -750,6 +751,9 @@ typedef struct ScrewModifierData { typedef struct WarpModifierData { ModifierData modifier; + + + /* keep in sync with MappingInfoModifierData */ struct Tex *texture; struct Object *map_object; @@ -785,4 +789,16 @@ typedef enum { /* PROP_RANDOM not used */ } WarpModifierFalloff; +/* Dynamic paint modifier flags */ +#define MOD_DYNAMICPAINT_TYPE_CANVAS (1 << 0) +#define MOD_DYNAMICPAINT_TYPE_BRUSH (1 << 1) + +typedef struct DynamicPaintModifierData { + ModifierData modifier; + + struct DynamicPaintCanvasSettings *canvas; + struct DynamicPaintBrushSettings *brush; + int type; /* ui display: canvas / brush */ + int pad; +} DynamicPaintModifierData; #endif |