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:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2008-04-23 16:44:10 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2008-04-23 16:44:10 +0400
commit087c66fd293c1921b4663c8c8b7bfc05cc117831 (patch)
tree823f867e8ca2dd521e2cdb80168e43b8899980cc /source/blender/makesdna/DNA_modifier_types.h
parent71a2bd140aaea457087e8a61365f2855fe81f160 (diff)
Added simple UI to configure some shrinkwrap modifier properties (simple commit to try svn)
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index b7b43817474..416bb58ab53 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -35,6 +35,7 @@ typedef enum ModifierType {
eModifierType_Cloth,
eModifierType_Collision,
eModifierType_Bevel,
+ eModifierType_Shrinkwrap,
NUM_MODIFIER_TYPES
} ModifierType;
@@ -488,4 +489,17 @@ typedef struct ExplodeModifierData {
float protect;
} ExplodeModifierData;
+typedef struct ShrinkwrapModifierData {
+ ModifierData modifier;
+
+ char name[32]; /* optional vertexgroup name */
+ short shrinkType; /* shrink type projection */
+ short pad[3];
+} ShrinkwrapModifierData;
+
+/* Shrinkwrap->shrinkType */
+#define MOD_SHRINKWRAP_NEAREST 0
+#define MOD_SHRINKWRAP_NORMAL 1
+
+
#endif