summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-10 11:57:22 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-10 11:57:22 -0400
commit34e2478388341a1add33bf88cac43031e351340e (patch)
treef92cc7c0d43d5bbe466a0308a40c38684c08de6d /indra/newview/llviewertexture.cpp
parentf78da987913de659367b24e3aa0add2c570f8e1f (diff)
SH-4061 WIP - less log spamming for (expected and normal) map tile failures.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rwxr-xr-xindra/newview/llviewertexture.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 7a1afb1238..5f4c66a04c 100755
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1828,8 +1828,11 @@ bool LLViewerFetchedTexture::updateFetch()
{
const S32 MAX_FETCH_FAILURE = 3;
mFetchFailureCount++;
- llwarns << "Fetch failure for " << mID << " failure count " << mFetchFailureCount
- << " status " << mLastHttpGetStatus.toHex() << llendl;
+ if (getFTType() != FTT_MAP_TILE)
+ {
+ llwarns << "Fetch failure for " << mID << " failure count " << mFetchFailureCount
+ << " status " << mLastHttpGetStatus.toHex() << llendl;
+ }
// Will retry server-bake textures under a limited set of circumstances.
if (getFTType() == FTT_SERVER_BAKE &&
mLastHttpGetStatus.isHttpStatus() &&
@@ -1841,11 +1844,14 @@ bool LLViewerFetchedTexture::updateFetch()
}
else // Otherwise, assume the image is missing.
{
- llwarns << "!mIsFetching, setting as missing, decode_priority " << decode_priority
- << " mRawDiscardLevel " << mRawDiscardLevel
- << " current_discard " << current_discard
- << " stats " << mLastHttpGetStatus.toHex()
- << llendl;
+ if (getFTType() != FTT_MAP_TILE)
+ {
+ llwarns << "!mIsFetching, setting as missing, decode_priority " << decode_priority
+ << " mRawDiscardLevel " << mRawDiscardLevel
+ << " current_discard " << current_discard
+ << " stats " << mLastHttpGetStatus.toHex()
+ << llendl;
+ }
setIsMissingAsset();
desired_discard = -1;
}