diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-05 21:05:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-05 21:05:55 +0300 |
commit | 1e40adddc7c15aa008670fcf387cda56fdef8479 (patch) | |
tree | 5b04f6bdf5655607d6fe2d55eb3f4b7bdbda1f57 /source/blender/makesdna/DNA_modifier_types.h | |
parent | bdfa652605b0932755a35fa8af02ccd049596847 (diff) |
2.5 Modifiers: mesh deform, boolean and decimation work again.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index db1c261556b..fe6a5b050e3 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -508,8 +508,7 @@ typedef struct MeshDeformModifierData { struct Object *object; /* mesh object */ char defgrp_name[32]; /* optional vertexgroup name */ - short gridsize, needbind; - short flag, pad; + short gridsize, flag, pad[2]; /* variables filled in when bound */ float *bindweights, *bindcos; /* computed binding weights */ @@ -522,6 +521,10 @@ typedef struct MeshDeformModifierData { float dyncellmin[3]; /* offset of the dynamic bind grid */ float dyncellwidth; /* width of dynamic bind cell */ float bindmat[4][4]; /* matrix of cage at binding time */ + + /* runtime */ + void (*bindfunc)(struct Scene *scene, struct MeshDeformModifierData *mmd, + float *vertexcos, int totvert, float cagemat[][4]); } MeshDeformModifierData; typedef enum { |