diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2010-03-18 22:08:47 -0600 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2010-03-18 22:08:47 -0600 | 
| commit | 7b7114f7ac27b67c6e75d8f1ecc7596bc88c78de (patch) | |
| tree | be15a5fecf1614df5d0a6af9fb2a62cf56f10e0f | |
| parent | 0c1ff8e8769a569c2551a2be04a18cc854cfc5d4 (diff) | |
| parent | 12a86042f726fbc9bba06103ed8c68bf954e6c6a (diff) | |
Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/
| -rw-r--r-- | indra/newview/lltexturefetch.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 3 | 
2 files changed, 2 insertions, 3 deletions
| diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index b1b3ae473c..1c7b3a0fe0 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -571,7 +571,7 @@ bool LLTextureFetchWorker::doWork(S32 param)  	if ((mFetcher->isQuitting() || mImagePriority < 1.0f || getFlags(LLWorkerClass::WCF_DELETE_REQUESTED)))  	{ -		if (mState < WRITE_TO_CACHE) +		if (mState < DECODE_IMAGE)  		{  			return true; // abort  		} diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index dbbf0219c9..9fbffdac35 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1546,8 +1546,7 @@ F32 LLViewerFetchedTexture::calcDecodePriority()  		}  		else  		{ -			// Leave the priority as-is -			return mDecodePriority; +			priority = -1.f; //stop fetching  		}  	}  	else if (cur_discard < 0) | 
