summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-23 11:04:23 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-01-23 11:04:23 -0500
commitd56009af85cd3807dbaaf23e4f4ce9539a637602 (patch)
tree72ef05af0250e5b002ca54c86328080f24d11927 /indra
parente378effca36a0a6efd6036586c3259ba5367b012 (diff)
fixes and updates to DebugAvatarAppearanceMessage status line
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llvoavatar.cpp27
1 files changed, 12 insertions, 15 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 83667c8c55..6aad3c8918 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2890,23 +2890,20 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
}
bool all_baked_downloaded = allBakedTexturesCompletelyDownloaded();
bool all_local_downloaded = allLocalTexturesCompletelyDownloaded();
- S32 curr_cof_version = -1;
- S32 last_request_cof_version = -1;
- S32 last_received_cof_version = -1;
+ std::string debug_line = llformat("%s%s - mLocal: %d, mEdit: %d, mUSB: %d, CBV: %d",
+ all_local_downloaded ? "L" : "l",
+ all_baked_downloaded ? "B" : "b",
+ mUseLocalAppearance, mIsEditingAppearance,
+ mUseServerBakes, central_bake_version);
if (isSelf())
{
- curr_cof_version = LLAppearanceMgr::instance().getCOFVersion();
- last_request_cof_version = LLAppearanceMgr::instance().getLastUpdateRequestCOFVersion();
- last_received_cof_version = LLAppearanceMgr::instance().getLastAppearanceUpdateCOFVersion();
+ S32 curr_cof_version = LLAppearanceMgr::instance().getCOFVersion();
+ S32 last_request_cof_version = LLAppearanceMgr::instance().getLastUpdateRequestCOFVersion();
+ S32 last_received_cof_version = LLAppearanceMgr::instance().getLastAppearanceUpdateCOFVersion();
+ debug_line += llformat(" - cof: %d req: %d rcv:%d",
+ curr_cof_version, last_request_cof_version, last_received_cof_version);
}
-
- 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,
- curr_cof_version, last_request_cof_version, last_received_cof_version
- ));
+ addDebugText(debug_line);
}
if (gSavedSettings.getBOOL("DebugAvatarCompositeBaked"))
{
@@ -4040,7 +4037,7 @@ bool LLVOAvatar::allLocalTexturesCompletelyDownloaded()
bool LLVOAvatar::allBakedTexturesCompletelyDownloaded()
{
std::set<LLUUID> baked_ids;
- collectLocalTextureUUIDs(baked_ids);
+ collectBakedTextureUUIDs(baked_ids);
return allTexturesCompletelyDownloaded(baked_ids);
}