diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2012-05-01 21:29:19 -0600 |
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2012-05-01 21:29:19 -0600 |
| commit | da29210ed601f2736ca36d3657cd7b1b463b3a9b (patch) | |
| tree | ed51f81a453b2f2735d63af8e141f7ae9dd0db8a /indra/newview/llviewertexture.cpp | |
| parent | aa44ec81e18fa91e718e1a22606b3f385bb8170f (diff) | |
fix a sculpt crash
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index d83a595220..ea329f6aac 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -2156,6 +2156,11 @@ void LLViewerFetchedTexture::clearFetchedResults() cleanup(); destroyGLTexture(); + + if(getDiscardLevel() >= 0) //sculpty texture, force to invalidate + { + mGLTexturep->forceToInvalidateGLTexture(); + } } void LLViewerFetchedTexture::forceToDeleteRequest() |
