summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-04-27 16:38:16 -0600
committerXiaohong Bao <bao@lindenlab.com>2012-04-27 16:38:16 -0600
commit3a9aa29a44f8b20ff9aa5c5eeaf7efccc81ae608 (patch)
tree7a3823ceb284a83b077fd4326b6d6efcce411a94 /indra/newview
parent9c4380a03a7b9d18cdd44662ca56cf44c4766e6f (diff)
fix for a crash on "refetch vis cache"
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewertexture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 6137b7176f..1b468a7b96 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1305,6 +1305,7 @@ void LLViewerFetchedTexture::cleanup()
mCachedRawDiscardLevel = -1 ;
mCachedRawImageReady = FALSE ;
mSavedRawImage = NULL ;
+ mSavedRawDiscardLevel = -1;
}
void LLViewerFetchedTexture::setForSculpt()