summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-17 00:06:22 -0700
committerRichard Linden <none@none>2012-10-17 00:06:22 -0700
commite6ca5471a2a816a24888ae1b38332531b22b7254 (patch)
tree8eb0adb0db391bc775e79dee6486e2d51a6e3c04 /indra/newview/llviewerobject.cpp
parent8d2f7a526545a10cd3669bf837a0b6f02cf5fe71 (diff)
SH-3275 Update viewer metrics system to be more flexible
put template parameter back in LLUnit units added free function operators for mathematical manipulation of unit values converted texture memory tracking to units
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 989a1c4e5a..747dfd3250 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -2033,7 +2033,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
// If we're snapping the position by more than 0.5m, update LLViewerStats::mAgentPositionSnaps
if ( asAvatar() && asAvatar()->isSelf() && (mag_sqr > 0.25f) )
{
- LLStatViewer::AGENT_POSITION_SNAP.sample<LLUnits::Meters>(diff.length());
+ LLStatViewer::AGENT_POSITION_SNAP.sample<LLTrace::Meters>(diff.length());
//LLViewerStats::getInstance()->mAgentPositionSnaps.push( diff.length() );
}
}