summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-06-17 01:20:27 -0700
committerRichard Linden <none@none>2013-06-17 01:20:27 -0700
commit1cb0c974ae410479a1f72dab556ef7c9371970ee (patch)
tree91a97b4b05e8085fdad17173b7ca874bb98a8805 /indra/llcharacter
parentfc88265cffe3553803314c6e895a1e3a3c988171 (diff)
parent3f2de87340b1c831ea59e4a3ca960d49f343c9fd (diff)
Merge
Diffstat (limited to 'indra/llcharacter')
-rwxr-xr-xindra/llcharacter/llkeyframewalkmotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llkeyframewalkmotion.cpp b/indra/llcharacter/llkeyframewalkmotion.cpp
index e188b06c03..c6ca0b542e 100755
--- a/indra/llcharacter/llkeyframewalkmotion.cpp
+++ b/indra/llcharacter/llkeyframewalkmotion.cpp
@@ -383,7 +383,7 @@ BOOL LLFlyAdjustMotion::onUpdate(F32 time, U8* joint_mask)
F32 target_roll = llclamp(ang_vel.mV[VZ], -4.f, 4.f) * roll_factor;
// roll is critically damped interpolation between current roll and angular velocity-derived target roll
- mRoll = LLSmoothInterpolation::lerp(mRoll, target_roll, LLUnit<LLUnits::Milliseconds, F32>(100));
+ mRoll = LLSmoothInterpolation::lerp(mRoll, target_roll, LLUnit<F32, LLUnits::Milliseconds>(100));
LLQuaternion roll(mRoll, LLVector3(0.f, 0.f, 1.f));
mPelvisState->setRotation(roll);