summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-13 18:37:15 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-13 18:37:15 -0500
commitc99e206374f6afdcc038a97934314dec1a742b2e (patch)
tree2b5804a45114fb9833a610a912eaee5b1b04a947 /indra/newview/llvoavatarself.cpp
parent0f7fe0cbea5cc8f092926bac5461b7cba7198d9b (diff)
SH-3852 WIP - send non-complete timers only on av destruction or last message, so they don't get multiply counted
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 2775c9442a..1a1564e1a8 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2269,7 +2269,11 @@ bool LLVOAvatarSelf::updateAvatarRezMetrics(bool force_send)
// Stats for completed phases have been getting logged as they
// complete. This will give us stats for any timers that
// haven't finished as of the metric's being sent.
- LLVOAvatar::logPendingPhasesAllAvatars();
+
+ if (force_send)
+ {
+ LLVOAvatar::logPendingPhasesAllAvatars();
+ }
sendViewerAppearanceChangeMetrics();
}