diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-06-07 17:07:28 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-06-07 17:07:28 -0400 |
commit | e9fdbadea57686e89a4070e7bc3462b9cc7b06a4 (patch) | |
tree | 08132a65e5ddd3893cb322e70601a3e946e03bb5 /indra/newview/llagent.cpp | |
parent | eec00a712fff079009ae793d86e27b7f3ab13053 (diff) |
EXT-7628 FIXED Don't cache lower res baked textures
Fixed an error in logic - low res textures should be identified by uploadNeeded versus uploadPending.
Also added a llinfos debugging line.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index d2e55f88a0..f49b8d24f2 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3589,10 +3589,10 @@ void LLAgent::sendAgentSetAppearance() if (isAgentAvatarValid() && !gAgentAvatarp->isBakedTextureFinal((LLVOAvatarDefines::EBakedTextureIndex)baked_index)) { generate_valid_hash = FALSE; + llinfos << "Not caching baked texture upload for " << baked_index << " due to being uploaded at low resolution." << llendl; } - LLUUID hash = gAgentWearables.computeBakedTextureHash((EBakedTextureIndex) baked_index, generate_valid_hash); - + const LLUUID hash = gAgentWearables.computeBakedTextureHash((EBakedTextureIndex) baked_index, generate_valid_hash); if (hash.notNull()) { ETextureIndex texture_index = LLVOAvatarDictionary::bakedToLocalTextureIndex((EBakedTextureIndex) baked_index); |