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:
authorSergej Reich <sergej.reich@googlemail.com>2013-01-23 09:57:01 +0400
committerSergej Reich <sergej.reich@googlemail.com>2013-01-23 09:57:01 +0400
commitc48238fac6c3a8a767c290ebb1c5e22b18d9bfe9 (patch)
treea8a37bf18886d397737b8f9be0520f43c1a1f5f6 /release
parent47c96081d00f2edfb1148d5d7c276489f03a8581 (diff)
rigidbody: Add generic spring constraint
Behaves like the generic constraint but has optional spring on each axis. TODO: Add option to set rest length. Patch by Markus Kasten (markus111), thanks!
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/rigidbody.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py
index 5363eba6420..d5e61484762 100644
--- a/release/scripts/startup/bl_operators/rigidbody.py
+++ b/release/scripts/startup/bl_operators/rigidbody.py
@@ -206,6 +206,7 @@ class ConnectRigidBodies(Operator):
('SLIDER', "Slider", "Restricts rigid boddy translation to one axis"),
('PISTON', "Piston", "Restricts rigid boddy translation and rotation to one axis"),
('GENERIC', "Generic", "Restricts translation and rotation to specified axes"),
+ ('GENERIC_SPRING', "Generic Spring", "Restricts translation and rotation to specified axes with springs")),
default='FIXED',)
pivot_type = EnumProperty(