summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-08 15:52:54 -0700
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-08 15:52:54 -0700
commit5ee461ab19ac86ef9712ad33435b821f9afe340c (patch)
tree44a7aa3deeb30264dc181271c663cb0c08cb1bc3 /indra/newview/lltexturefetch.cpp
parent225ac5c487548ba7e62f3e15f1b941baba3a433c (diff)
parent337976096530729a7d671df68907cd59a7986972 (diff)
merge
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/lltexturefetch.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index b148b8b76d..7adf5212c2 100644..100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1268,6 +1268,12 @@ bool LLTextureFetchWorker::doWork(S32 param)
S32 max_attempts;
if (mGetStatus == HTTP_NOT_FOUND)
{
+ if(mWriteToCacheState == NOT_WRITE) //map tiles
+ {
+ mState = DONE;
+ return true; // failed, means no map tile on the empty region.
+ }
+
mHTTPFailCount = max_attempts = 1; // Don't retry
llwarns << "Texture missing from server (404): " << mUrl << llendl;