summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 15:45:58 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 15:45:58 -0400
commit93e210d91f521b01deb10aa6aa25160364e6ae28 (patch)
treec2205093d0b57ca6d1037ec90bde18615bc16e7e /indra/newview/llagent.cpp
parentab83fab72c66e753917001a9030aa55e69a3c496 (diff)
more state management stuff, DRANO flags for problematic areas
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index ffcd263d06..bb9f8eaa26 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3630,8 +3630,7 @@ void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void *
return;
}
- // FIXME DRANO wrong check
- if (isAgentAvatarValid() && !gAgentAvatarp->isUsingServerBakes())
+ if (isAgentAvatarValid() && gAgentAvatarp->isEditingAppearance())
{
// ignore baked textures when in customize mode
return;
@@ -4261,11 +4260,16 @@ void LLAgent::requestLeaveGodMode()
//-----------------------------------------------------------------------------
void LLAgent::sendAgentSetAppearance()
{
+ // FIXME DRANO - this return short-circuits a bunch of phase stat tracking below.
if (!isAgentAvatarValid() || (getRegion() && getRegion()->getCentralBakeVersion())) return;
+ // FIXME DRANO - problems around new-style appearance in an old-style region.
+ // - does this get called?
+ // - need to change mUseServerBakes->FALSE in that case
+ // - need to call processAvatarAppearance as if server had returned this result?
+ // gAgentAvatarp->mUseServerBakes = FALSE;
- // FIXME DRANO - remove server bake check, covered by central bake check above?
- if (gAgentQueryManager.mNumPendingQueries > 0 && (isAgentAvatarValid() && gAgentAvatarp->isUsingServerBakes()))
+ if (gAgentQueryManager.mNumPendingQueries > 0)
{
return;
}