diff options
author | Alexander Pinzon <apinzonf@gmail.com> | 2013-07-27 05:15:30 +0400 |
---|---|---|
committer | Alexander Pinzon <apinzonf@gmail.com> | 2013-07-27 05:15:30 +0400 |
commit | 22112779cba8d0a727bc53283f633465410b67b5 (patch) | |
tree | 3bb4cb1bbea237fc72a4026e007a51e2ed7cbf1d /source/blender/makesdna/DNA_modifier_types.h | |
parent | c80af0190da694437597ec6e5e9777663dd23060 (diff) |
Implement the deformed Laplacian as a modifier.
The Laplacian Deform modifier, used two vertexGroups one for static and one for vertices's handlers.
By implementing the tool as Modifier allowed the use of other modifiers as Hook, so that the vertices's handlers can be controlled by various Hook objects.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 4fa8ed2b34a..a76f57a3e7c 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -79,6 +79,7 @@ typedef enum ModifierType { eModifierType_Triangulate = 44, eModifierType_UVWarp = 45, eModifierType_MeshCache = 46, + eModifierType_LaplacianDeform = 47, NUM_MODIFIER_TYPES } ModifierType; @@ -1221,5 +1222,12 @@ enum { MOD_MESHCACHE_PLAY_EVAL = 1, }; +typedef struct LaplacianDeformModifierData { + ModifierData modifier; + char defgrp_name_s[64]; /* MAX_VGROUP_NAME */ + char defgrp_name_h[64]; /* MAX_VGROUP_NAME */ + void * custom_data; +} LaplacianDeformModifierData; + #endif /* __DNA_MODIFIER_TYPES_H__ */ |