summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 18:11:57 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 18:11:57 -0400
commit0bb1324a27d4dd94d6f8a9d445ab892127f48c5f (patch)
treef50dd5d7de509e06ccc57b9c5f56178fa75deb6f
parent05ee87af14c4d20e754aa525e4a3f78eb736a96b (diff)
Debug text for avatar appearance state related to server-side baking project
-rwxr-xr-xindra/newview/llvoavatar.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index f5299f0fa3..fb06eb24c1 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2882,6 +2882,20 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
// clear debug text
mDebugText.clear();
+
+ if (gSavedSettings.getBOOL("DebugAvatarAppearanceMessage"))
+ {
+ S32 central_bake_version = -1;
+ if (getRegion())
+ {
+ central_bake_version = getRegion()->getCentralBakeVersion();
+ }
+ addDebugText(llformat("mUseLocalAppearance: %d,\nmIsEditingAppearance: %d\n"
+ "mUseServerBakes %d,\ncentralBakeVersion %d",
+ mUseLocalAppearance, mIsEditingAppearance,
+ mUseServerBakes, central_bake_version));
+ }
+
if (LLVOAvatar::sShowAnimationDebug)
{
for (LLMotionController::motion_list_t::iterator iter = mMotionController.getActiveMotions().begin();