summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercamera.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-03-08 17:08:00 -0800
committerRichard Linden <none@none>2013-03-08 17:08:00 -0800
commit4e3fddf271e6ff4557f594b6a8c036ab2a4e413f (patch)
tree44354258589fc5be9dd5db54a27bec8edbc9e630 /indra/newview/llviewercamera.cpp
parent4a5f14afc987b645c68705b0313aebbc3ba1d811 (diff)
fixed remaining sample and add calls
Diffstat (limited to 'indra/newview/llviewercamera.cpp')
-rw-r--r--indra/newview/llviewercamera.cpp4
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 &center,
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);