From 710d2a6db367e0bc57b098f8ceced68b533674de Mon Sep 17 00:00:00 2001 From: Steve Bennetts Date: Tue, 15 Dec 2009 14:44:41 -0800 Subject: Fixed an edge case that was triggering an error check when doing HTTP texture fetches. --- indra/newview/lltexturefetch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 85259fdc1e..9f69ed3964 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -887,6 +887,8 @@ bool LLTextureFetchWorker::doWork(S32 param) } else { + // mFormattedImage gauranteed to not be NULL since cur_size != 0 + mLoadedDiscard = mFormattedImage->getDiscardLevel(); mState = DECODE_IMAGE; return false; // use what we have } -- cgit v1.2.3