From d52913bdbfdffd7ce4b1b2ace0b6eecd28a5ae43 Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Tue, 24 Aug 2010 17:18:45 -0400 Subject: Fixed bug where wrong max velocity param was being used. --- indra/newview/llbreastmotion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llbreastmotion.cpp b/indra/newview/llbreastmotion.cpp index c773655f35..8d3571e83d 100644 --- a/indra/newview/llbreastmotion.cpp +++ b/indra/newview/llbreastmotion.cpp @@ -321,7 +321,7 @@ BOOL LLBreastMotion::onUpdate(F32 time, U8* joint_mask) for (U32 i=0; i < 3; i++) { - if (mBreastMaxVelocityParam[0] == 0) + if (mBreastMaxVelocityParam[i] == 0) { new_local_pt[i] = breast_user_local_pt[i]; } -- cgit v1.2.3