Commits

BaoLinden committed 33d84d8

fix for MAINT-1201: 404 errors appear in the log when opening the world map

Comments (0)

Files changed (2)

indra/newview/lltexturefetch.cpp

 				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;
 

indra/newview/llviewertexture.cpp

 	}
 	else
 	{
-		llwarns << mUrl << ": Marking image as missing" << llendl;
+		//it is normal no map tile on an empty region.
+		//llwarns << mUrl << ": Marking image as missing" << llendl;
 	}
 	if (mHasFetcher)
 	{