summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-23 16:04:08 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-23 16:04:08 -0500
commit878e31dce2483cea0a1a38f076d4558c04ec9642 (patch)
tree59daf63c16f4490137258c1a90bf10259538e177 /indra/newview/llvoavatar.cpp
parentd56009af85cd3807dbaaf23e4f4ce9539a637602 (diff)
SH-3534 WIP - better encapsulation of mUseServerBakes
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 6aad3c8918..3d58c50eba 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6651,7 +6651,7 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )
return;
}
- mUseServerBakes = (appearance_version > 0);
+ setIsUsingServerBakes(appearance_version > 0);
applyParsedTEMessage(tec);
@@ -7276,6 +7276,11 @@ void LLVOAvatar::bodySizeChanged()
}
}
+BOOL LLVOAvatar::isUsingServerBakes() const
+{
+ return mUseServerBakes;
+}
+
void LLVOAvatar::setIsUsingServerBakes(BOOL newval)
{
mUseServerBakes = newval;