diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2010-08-12 21:52:22 -0600 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2010-08-12 21:52:22 -0600 | 
| commit | 4627c4b698cf75abd8bd59b6a05ea923c57f7574 (patch) | |
| tree | e2b3146bd069fe54babda631f66ca22179f215d2 /indra | |
| parent | 11c498567443058b1516c25e1fcc197b4157c1ff (diff) | |
Fix for EXT-8578: Blurry image in profile never resolves - texture queue problem?
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
| diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index e38608bcfc..9b3243a1bc 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -814,7 +814,7 @@ void LLViewerTexture::generateGLTexture()  LLImageGL* LLViewerTexture::getGLTexture() const  {  	llassert(mGLTexturep.notNull()) ; -	 +  	return mGLTexturep ;  } @@ -1489,8 +1489,13 @@ void LLViewerFetchedTexture::setKnownDrawSize(S32 width, S32 height)  //virtual  void LLViewerFetchedTexture::processTextureStats()  { -	if(mFullyLoaded) +	if(mForceToSaveRawImage && mDesiredSavedRawDiscardLevel >= 0) //force to refetch the texture.  	{ +		mDesiredDiscardLevel = llmin(mDesiredDiscardLevel, (S8)mDesiredSavedRawDiscardLevel) ; +	} + +	if(mFullyLoaded) +	{		  		if(mDesiredDiscardLevel <= mMinDesiredDiscardLevel)//already loaded  		{  			return ; | 
