From fbb7196100a0becbfc2fc010c9f4ea419c5bceaf Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Tue, 13 Nov 2012 23:54:23 +0100 Subject: [PATCH] Missed a piece of a fix for the case we receive complete texture data instead of what we asked for. The rest of the fix landed in commit c37a473287113a90d04fc31e495c5506350a8f0c by accident. --- indra/newview/lltexturefetch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 5552648e9..5d4894948 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1908,6 +1908,7 @@ S32 LLTextureFetchWorker::callbackHttpGet(const LLChannelDescriptors& channels, // *TODO: This shouldn't be happening any more llwarns << "data_size = " << data_size << " > requested: " << mRequestedSize << llendl; mHaveAllData = TRUE; + mRequestedOffset = 0; llassert_always(mDecodeHandle == 0); mFormattedImage = NULL; // discard any previous data we had }