summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercamera.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-11-01 17:52:11 -0700
committerRichard Linden <none@none>2012-11-01 17:52:11 -0700
commit74fe126590fba03752d1d8d88dd3bb59c6900026 (patch)
tree8ce225ede4db348ce7ae1a576da4ed98da54a40a /indra/newview/llviewercamera.cpp
parent3ccbce90e37b92d5b32a2507804adc91bc58065d (diff)
SH-3405 FIX convert existing stats to lltrace system
output of floater_stats is now identical to pre-lltrace system (with some tweaks)
Diffstat (limited to 'indra/newview/llviewercamera.cpp')
-rw-r--r--indra/newview/llviewercamera.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/llviewercamera.cpp b/indra/newview/llviewercamera.cpp
index 831304f428..f74897daa7 100644
--- a/indra/newview/llviewercamera.cpp
+++ b/indra/newview/llviewercamera.cpp
@@ -170,7 +170,6 @@ void LLViewerCamera::updateCameraLocation(const LLVector3 &center,
sVelocityStat.add(dpos);
sAngularVelocityStat.add(drot);
- LLTrace::Recording& recording = LLTrace::get_frame_recording().getTotalRecording();
mAverageSpeed = LLTrace::get_frame_recording().getPeriodMeanPerSec(sVelocityStat);
mAverageAngularSpeed = LLTrace::get_frame_recording().getPeriodMeanPerSec(sAngularVelocityStat);
mCosHalfCameraFOV = cosf(0.5f * getView() * llmax(1.0f, getAspect()));