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:
authorJuho Vepsalainen <bebraw@gmail.com>2007-11-16 15:23:00 +0300
committerJuho Vepsalainen <bebraw@gmail.com>2007-11-16 15:23:00 +0300
commitfd3764f9a4cf197d220f5ec993178f2a4ff29326 (patch)
tree1d71df91a6d06b46ca2518153c685adb18a6a4ed /source/blender/makesdna/DNA_object_force.h
parent6dbe7453969fd2bcb64df8ed85b3b211c627fc0e (diff)
= Fix for softbody collision mode selector =
This commit makes all softbody collision modes work as they should. Thanks to Genscher for noticing the issue. bjornmose, please check this commit.
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r--source/blender/makesdna/DNA_object_force.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h
index a821e209ef0..88d45f0dbd8 100644
--- a/source/blender/makesdna/DNA_object_force.h
+++ b/source/blender/makesdna/DNA_object_force.h
@@ -143,9 +143,17 @@ typedef struct SoftBody {
#define OB_SB_EDGECOLL 2048
#define OB_SB_COLLFINAL 4096
+/* sb->solverflags */
#define SBSO_MONITOR 1
#define SBSO_OLDERR 2
+/* sb->sbc_mode */
+#define SBC_MODE_MANUAL 0
+#define SBC_MODE_AVG 1
+#define SBC_MODE_MIN 2
+#define SBC_MODE_MAX 3
+#define SBC_MODE_AVGMINMAX 4
+
#ifdef __cplusplus
}
#endif