Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pinzon <apinzonf@gmail.com>2013-07-27 05:15:30 +0400
committerAlexander Pinzon <apinzonf@gmail.com>2013-07-27 05:15:30 +0400
commit22112779cba8d0a727bc53283f633465410b67b5 (patch)
tree3bb4cb1bbea237fc72a4026e007a51e2ed7cbf1d /source/blender/makesdna/DNA_modifier_types.h
parentc80af0190da694437597ec6e5e9777663dd23060 (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.h8
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__ */