summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-12 18:55:30 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-12 18:55:30 -0400
commitee758c1da0cf0c2436034109868003da56060e6c (patch)
treeff766e4043bffd8879279ddcfffee596f7c4ff45 /indra/newview/llagent.cpp
parent2f4cb7c534852c7cec142d102520b01a4a7b5c0d (diff)
SH-2970 WIP - scoped phase tweaking, removed auto-phase-stop on metrics send
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 9f764c6e41..6e350a5b1d 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3257,6 +3257,10 @@ void LLAgent::processControlRelease(LLMessageSystem *msg, void **)
void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void **user_data)
{
gAgentQueryManager.mNumPendingQueries--;
+ if (gAgentQueryManager.mNumPendingQueries == 0)
+ {
+ selfStopPhase("fetch_texture_cache_entries");
+ }
if (!isAgentAvatarValid() || gAgentAvatarp->isDead())
{