summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-03 13:33:39 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-03 13:33:39 -0400
commit2737d834ecf240a71466e309393883d9d846dd3a (patch)
tree6481f4c231f741f7e2f535c10f2a35b0775d7ff2 /indra/newview
parent5930e6af484f5a8de983214331732e6e54d6b650 (diff)
AVP-77 WIP cleanup before merge/push
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index fd53214c50..84c420d183 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6498,16 +6498,13 @@ LLColor4 LLVOAvatar::getDummyColor()
void LLVOAvatar::dumpAvatarTEs( const std::string& context ) const
{
- /* const char* te_name[] = {
- "TEX_HEAD_BODYPAINT ",
- "TEX_UPPER_SHIRT ", */
llinfos << (isSelf() ? "Self: " : "Other: ") << context << llendl;
for (LLVOAvatarDictionary::Textures::const_iterator iter = LLVOAvatarDictionary::getInstance()->getTextures().begin();
iter != LLVOAvatarDictionary::getInstance()->getTextures().end();
++iter)
{
const LLVOAvatarDictionary::TextureEntry *texture_dict = iter->second;
- // TODO: handle multiple textures for self
+ // TODO: MULTI-WEARABLE: handle multiple textures for self
const LLViewerTexture* te_image = getImage(iter->first,0);
if( !te_image )
{
@@ -7909,9 +7906,12 @@ void LLVOAvatar::idleUpdateRenderCost()
}
}
}
- // print any attachment textures we didn't already know about.
+ // Diagnostic output to identify all avatar-related textures.
+ // Does not affect rendering cost calculation.
+ // Could be wrapped in a debug option if output becomes problematic.
if (isSelf())
{
+ // print any attachment textures we didn't already know about.
for (std::set<LLUUID>::iterator it = textures.begin(); it != textures.end(); ++it)
{
LLUUID image_id = *it;
@@ -7931,7 +7931,7 @@ void LLVOAvatar::idleUpdateRenderCost()
++iter)
{
const LLVOAvatarDictionary::TextureEntry *texture_dict = iter->second;
- // TODO: handle multiple textures for self
+ // TODO: MULTI-WEARABLE: handle multiple textures for self
const LLViewerTexture* te_image = getImage(iter->first,0);
if (!te_image)
continue;