diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-24 08:02:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-24 08:02:30 +0400 |
commit | 296f91c4cc02a5822bf8c74031be1ec35db86d3c (patch) | |
tree | 12e179be54ba32ad6a51744c9d8ccc04fc151fd0 /source/blender/makesdna/DNA_modifier_types.h | |
parent | 5489d5c2b5cb984112fe1b8dc1dbabbfbd6fb473 (diff) |
add 'deform - integrate' option to mesh-cache,
This means the deformation on the input to the modifier can be re-applied ontop of the mesh cache.
In practice this is most useful for using corrective shape-keys with mesh-cache.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 42ddbd84368..117eac0e42b 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1175,6 +1175,8 @@ typedef struct MeshCacheModifierData { char interp; float factor; + char deform_mode; + char pad[7]; /* play_mode == MOD_MESHCACHE_PLAY_CFEA */ float frame_start; @@ -1195,6 +1197,11 @@ enum { }; enum { + MOD_MESHCACHE_DEFORM_OVERWRITE = 0, + MOD_MESHCACHE_DEFORM_INTEGRATE = 1 +}; + +enum { MOD_MESHCACHE_INTERP_NONE = 0, MOD_MESHCACHE_INTERP_LINEAR = 1, // MOD_MESHCACHE_INTERP_CARDINAL = 2 |