diff options
author | Richard Linden <none@none> | 2013-03-08 17:08:00 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-08 17:08:00 -0800 |
commit | 4e3fddf271e6ff4557f594b6a8c036ab2a4e413f (patch) | |
tree | 44354258589fc5be9dd5db54a27bec8edbc9e630 /indra/newview/llviewercamera.cpp | |
parent | 4a5f14afc987b645c68705b0313aebbc3ba1d811 (diff) |
fixed remaining sample and add calls
Diffstat (limited to 'indra/newview/llviewercamera.cpp')
-rw-r--r-- | indra/newview/llviewercamera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewercamera.cpp b/indra/newview/llviewercamera.cpp index 6e0a2c88a8..9ca5f07f35 100644 --- a/indra/newview/llviewercamera.cpp +++ b/indra/newview/llviewercamera.cpp @@ -167,8 +167,8 @@ void LLViewerCamera::updateCameraLocation(const LLVector3 ¢er, F32 drot; rotation.getAngleAxis(&drot, &x, &y, &z); - sVelocityStat.add(dpos); - sAngularVelocityStat.add(drot); + add(sVelocityStat, dpos); + add(sAngularVelocityStat, drot); mAverageSpeed = LLTrace::get_frame_recording().getPeriodMeanPerSec(sVelocityStat); mAverageAngularSpeed = LLTrace::get_frame_recording().getPeriodMeanPerSec(sAngularVelocityStat); |