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-07-25 22:48:24 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2008-07-25 22:48:24 +0400
commit1537e75cba4df5604b695be54bbae724df5d4095 (patch)
treeae4dfe556f4d0a952a03dd453a8d66debb83aed6 /source/blender/makesdna/DNA_modifier_types.h
parentaec6b78deda32d7aa1631ec76efda5bcea83a8c9 (diff)
Converted shrinkwrap to a DeformOnly modifier
*the options "remove faces", "merge" points were removed *made shrinkwrap work with CVs (curves and nurbs surfaces) *cleanup shrinkwrap code.. (removed bruteforces and raytree methods)
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 40c3b223e01..44a7017158b 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -499,11 +499,9 @@ typedef struct ShrinkwrapModifierData {
struct Object *cutPlane;/* shrink target */
char vgroup_name[32]; /* optional vertexgroup name */
float keptDist; /* distance offset from mesh/projection point */
- float mergeDist; /* distance to merge vertexs */
short shrinkType; /* shrink type projection */
short shrinkOpts; /* shrink options */
- int pad;
} ShrinkwrapModifierData;
/* Shrinkwrap->shrinkType */
@@ -514,7 +512,7 @@ typedef struct ShrinkwrapModifierData {
/* Shrinkwrap->shrinkOpts */
#define MOD_SHRINKWRAP_ALLOW_DEFAULT_NORMAL (1<<0)
#define MOD_SHRINKWRAP_ALLOW_INVERTED_NORMAL (1<<1)
-#define MOD_SHRINKWRAP_REMOVE_UNPROJECTED_FACES (1<<2)
+/* #define MOD_SHRINKWRAP_REMOVE_UNPROJECTED_FACES (1<<2) / * Currently dropped to make shrinkwrap a deform only modifier */
#define MOD_SHRINKWRAP_CULL_TARGET_FRONTFACE (1<<3)
#define MOD_SHRINKWRAP_CULL_TARGET_BACKFACE (1<<4)