diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
commit | 9aad318fb9b9480a87d87db902dd2f064d9348af (patch) | |
tree | 2ee6663288dd21f03444a435addbb1925dd389e6 /indra/newview/lltexlayer.cpp | |
parent | 18a476daceccd337e990eec367cac5b985c8836f (diff) | |
parent | 62cd50fe1edd67308cf0a2e5407bd4005e705681 (diff) |
Merged from viewer-release
Diffstat (limited to 'indra/newview/lltexlayer.cpp')
-rw-r--r-- | indra/newview/lltexlayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltexlayer.cpp b/indra/newview/lltexlayer.cpp index 5d51e32515..46bd55de43 100644 --- a/indra/newview/lltexlayer.cpp +++ b/indra/newview/lltexlayer.cpp @@ -341,7 +341,8 @@ BOOL LLTexLayerSetBuffer::isReadyToUpload() const { if (!mNeedsUpload) return FALSE; // Don't need to upload if we haven't requested one. if (!gAgentQueryManager.hasNoPendingQueries()) return FALSE; // Can't upload if there are pending queries. - + if (isAgentAvatarValid() && !gAgentAvatarp->isUsingBakedTextures()) return FALSE; // Don't upload if avatar is using composites. + // If we requested an upload and have the final LOD ready, then upload. const BOOL can_highest_lod = mTexLayerSet->isLocalTextureDataFinal(); if (can_highest_lod) return TRUE; |