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:
authorJens Ole Wund <bjornmose@gmx.net>2005-08-07 23:22:29 +0400
committerJens Ole Wund <bjornmose@gmx.net>2005-08-07 23:22:29 +0400
commit7176e8926f15428fd3198b91a4f8d62b7528aef2 (patch)
tree47196392caf4f200592673175a970bbb5e5b8be6 /source/blender/makesdna/DNA_object_force.h
parentebd83b9bc4f64f045d2dc86507aa3d4645d4f116 (diff)
Softbody collision with deformed deflectors2
using bit in pd->flag to signal the use of deformed rather than wasting pd->pad removing evil cast replaced by using convertToDispListMesh() ZR: I hope that's OK that way commented off the ( debug purpose ) recursion trap in SoftBodyDetectCollision() replaced forbidden okee() with printf() in there ( not so nice, since it does not anounce crash on UI ) note: crashing example from previous commit needs enabling 'UMS' on panel to crash again UMS = uses modifier stack
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r--source/blender/makesdna/DNA_object_force.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h
index 59ea0cd6a3f..77ceb52788f 100644
--- a/source/blender/makesdna/DNA_object_force.h
+++ b/source/blender/makesdna/DNA_object_force.h
@@ -107,6 +107,7 @@ typedef struct SoftBody {
/* pd->flag: various settings */
#define PFIELD_USEMAX 1
+#define PDEFLE_DEFORM 2
/* ob->softflag */
#define OB_SB_ENABLE 1