summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 06:36:24 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 06:36:24 -0400
commitae0bb922909af95d96c140c1d74a4f39a264d4ec (patch)
treeaa75f1525641908cfa99777e11ff2ccf9228221e /indra/newview/llagent.cpp
parentf3d52b8d54c3be67262d4d8ae9a00253e9d55249 (diff)
renamed isUsingBakedTextures to more accurate isUsingServerBakes. Commented some areas we are probably using the function incorrectly
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 4e05836bca..fe48abc25a 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3630,7 +3630,8 @@ void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void *
return;
}
- if (isAgentAvatarValid() && !gAgentAvatarp->isUsingBakedTextures())
+ // FIXME DRANO wrong check
+ if (isAgentAvatarValid() && !gAgentAvatarp->isUsingServerBakes())
{
// ignore baked textures when in customize mode
return;
@@ -4262,7 +4263,7 @@ void LLAgent::sendAgentSetAppearance()
{
if (!isAgentAvatarValid() || (getRegion() && getRegion()->getCentralBakeVersion())) return;
- if (gAgentQueryManager.mNumPendingQueries > 0 && (isAgentAvatarValid() && gAgentAvatarp->isUsingBakedTextures()))
+ if (gAgentQueryManager.mNumPendingQueries > 0 && (isAgentAvatarValid() && gAgentAvatarp->isUsingServerBakes()))
{
return;
}