summaryrefslogtreecommitdiff
path: root/indra/newview/llbreastmotion.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-08-26 16:05:43 -0400
committerLoren Shih <seraph@lindenlab.com>2010-08-26 16:05:43 -0400
commit93404eca1a447f9412eb8ae2d5c4149ff9436dc7 (patch)
tree9ac2bf9f4c2e8604c07939824dd80f8ac271780a /indra/newview/llbreastmotion.cpp
parent0c21ba1e76eb189bdf43b7f2c81b3bf2b211578f (diff)
Changed parameter scale for max velocity so it's easier to turn off various physics.
Diffstat (limited to 'indra/newview/llbreastmotion.cpp')
-rw-r--r--indra/newview/llbreastmotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llbreastmotion.cpp b/indra/newview/llbreastmotion.cpp
index 902c5af892..5bbab8a0a6 100644
--- a/indra/newview/llbreastmotion.cpp
+++ b/indra/newview/llbreastmotion.cpp
@@ -321,7 +321,7 @@ BOOL LLBreastMotion::onUpdate(F32 time, U8* joint_mask)
LLVector3 acceleration_local_vec = force_net_local_vec / mBreastMassParam;
mBreastVelocity_local_vec += acceleration_local_vec;
- mBreastVelocity_local_vec.clamp(-mBreastMaxVelocityParam, mBreastMaxVelocityParam);
+ mBreastVelocity_local_vec.clamp(-mBreastMaxVelocityParam*100.0, mBreastMaxVelocityParam*100.0);
LLVector3 new_local_pt = breast_current_local_pt + mBreastVelocity_local_vec*time_delta;
new_local_pt.clamp(mBreastParamsMin,mBreastParamsMax);