summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-21 13:51:49 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-21 13:51:49 -0400
commit4c8c4eb28a05056b59461374947b8fffb4e35a3d (patch)
treed3972d1a99f31846fd6fa3ddfff010c70a1e32d6 /indra/newview/llvoavatarself.cpp
parentc36acfdc83db294f5832a71854b4c7a25a3bd2fa (diff)
changed nearby avatar stat metrics to map instead of array
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 20f91811a3..36c2f8b0de 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2097,10 +2097,10 @@ LLSD LLVOAvatarSelf::metricsData()
result["is_self"] = isSelf();
std::vector<S32> rez_counts;
LLVOAvatar::getNearbyRezzedStats(rez_counts);
- result["nearby"] = LLSD::emptyArray();
- result["nearby"][0] = rez_counts[0];
- result["nearby"][1] = rez_counts[1];
- result["nearby"][2] = rez_counts[2];
+ result["nearby"] = LLSD::emptyMap();
+ result["nearby"]["cloud"] = rez_counts[0];
+ result["nearby"]["gray"] = rez_counts[1];
+ result["nearby"]["textured"] = rez_counts[2];
result["timers"]["debug_existence"] = mDebugExistenceTimer.getElapsedTimeF32();
result["timers"]["ruth_debug"] = mRuthDebugTimer.getElapsedTimeF32();
result["timers"]["ruth"] = mRuthTimer.getElapsedTimeF32();