summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.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/llvoavatarself.cpp
parentf3d52b8d54c3be67262d4d8ae9a00253e9d55249 (diff)
renamed isUsingBakedTextures to more accurate isUsingServerBakes. Commented some areas we are probably using the function incorrectly
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index c5bb4c3700..d6d1853bec 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -1274,7 +1274,8 @@ void LLVOAvatarSelf::localTextureLoaded(BOOL success, LLViewerFetchedTexture *sr
discard_level < local_tex_obj->getDiscard())
{
local_tex_obj->setDiscard(discard_level);
- if (isUsingBakedTextures())
+ // FIXME DRANO
+ if (isUsingServerBakes())
{
requestLayerSetUpdate(index);
}
@@ -1758,7 +1759,8 @@ void LLVOAvatarSelf::setLocalTexture(ETextureIndex type, LLViewerTexture* src_te
local_tex_obj->setDiscard(tex_discard);
if (isSelf())
{
- if (gAgentAvatarp->isUsingBakedTextures())
+ // FIXME DRANO
+ if (gAgentAvatarp->isUsingServerBakes())
{
requestLayerSetUpdate(type);
}