summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-22 21:47:35 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-22 21:47:35 -0500
commite378effca36a0a6efd6036586c3259ba5367b012 (patch)
treecba8c58d273d4bfc8ba01d4224904db589f4b7de /indra/newview/llvoavatar.cpp
parentb40fad02de170b5da179cacc22f32f5f25ffd7cb (diff)
Added cof version information to DebugAvatarAppearanceMessage output
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 54bb755ad5..83667c8c55 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2890,11 +2890,23 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
}
bool all_baked_downloaded = allBakedTexturesCompletelyDownloaded();
bool all_local_downloaded = allLocalTexturesCompletelyDownloaded();
- addDebugText(llformat("%s%s - mLocal: %d, mEdit: %d, mUSB: %d, CBV: %d",
+ S32 curr_cof_version = -1;
+ S32 last_request_cof_version = -1;
+ S32 last_received_cof_version = -1;
+ if (isSelf())
+ {
+ curr_cof_version = LLAppearanceMgr::instance().getCOFVersion();
+ last_request_cof_version = LLAppearanceMgr::instance().getLastUpdateRequestCOFVersion();
+ last_received_cof_version = LLAppearanceMgr::instance().getLastAppearanceUpdateCOFVersion();
+ }
+
+ addDebugText(llformat("%s%s - mLocal: %d, mEdit: %d, mUSB: %d, CBV: %d - cof: %d req: %d rcv:%d",
all_local_downloaded ? "L" : "l",
all_baked_downloaded ? "B" : "b",
mUseLocalAppearance, mIsEditingAppearance,
- mUseServerBakes, central_bake_version));
+ mUseServerBakes, central_bake_version,
+ curr_cof_version, last_request_cof_version, last_received_cof_version
+ ));
}
if (gSavedSettings.getBOOL("DebugAvatarCompositeBaked"))
{
@@ -6613,6 +6625,8 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )
<< " last_update_request_cof_version " << last_update_request_cof_version
<< " my_cof_version " << LLAppearanceMgr::instance().getCOFVersion() << llendl;
+ LLAppearanceMgr::instance().setLastAppearanceUpdateCOFVersion(this_update_cof_version);
+
if (getRegion() && (getRegion()->getCentralBakeVersion()==0))
{
llwarns << avString() << "Received AvatarAppearance message for self in non-server-bake region" << llendl;