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:
authorErwin Coumans <blender@erwincoumans.com>2006-12-02 06:48:36 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-12-02 06:48:36 +0300
commit28bbf2d61616f7b8b3c59b54b46af7ee4dbf1e11 (patch)
tree942f1211d5d0bb2f4ceaa6f08e3718f21c942dbb /source/blender/makesdna/DNA_constraint_types.h
parentbcb3aec646ad197874ceaf1ed535251e536cb3fd (diff)
- added support for generic 6DOF constraint
- only 6DOF constraint shows buttons for limits - added python support for rigidbody constraint (untested, but required for COLLADA Physics support)
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 5e220e40fed..ccc5f0c48e4 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -318,10 +318,11 @@ typedef struct bRigidBodyJointConstraint{
#define LIMIT_NOPARENT 0x01
+/* important: these defines need to match up with PHY_DynamicTypes headerfile */
#define CONSTRAINT_RB_BALL 1
#define CONSTRAINT_RB_HINGE 2
-#define CONSTRAINT_RB_GENERIC6DOF 3
#define CONSTRAINT_RB_VEHICLE 11
+#define CONSTRAINT_RB_GENERIC6DOF 12
#endif