diff options
author | Richard Linden <none@none> | 2012-11-01 00:26:44 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-11-01 00:26:44 -0700 |
commit | 819adb5eb4d7f982121f3dbd82750e05d26864d9 (patch) | |
tree | e1b48b5d87da3cde9008473b78577e9856bf8cce /indra/newview/llagentcamera.cpp | |
parent | 3ffd0be53af0c5338e6fdc77d240e976aeb10451 (diff) |
SH-3405 FIX convert existing stats to lltrace system
final removal of remaining LLStat code
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index 751b73e1eb..8d80e3aa0a 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -1081,8 +1081,8 @@ void LLAgentCamera::updateLookAt(const S32 mouse_x, const S32 mouse_y) LLQuaternion av_inv_rot = ~gAgentAvatarp->mRoot.getWorldRotation(); LLVector3 root_at = LLVector3::x_axis * gAgentAvatarp->mRoot.getWorldRotation(); - if ((gViewerWindow->getMouseVelocityStat()->getCurrent() < 0.01f) && - (root_at * last_at_axis > 0.95f)) + if (LLTrace::get_frame_recording().getLastRecordingPeriod().getLastValue(*gViewerWindow->getMouseVelocityStat()) < 0.01f + && (root_at * last_at_axis > 0.95f)) { LLVector3 vel = gAgentAvatarp->getVelocity(); if (vel.magVecSquared() > 4.f) |