diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-03-17 16:41:28 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-03-17 16:41:28 -0600 |
commit | 56ccf4d0befca4c98d1d13f757b515bde1d3e262 (patch) | |
tree | a41fa793c83548a7cd55cd0524a0a9dba77bed3c /indra | |
parent | 8e1f7ecaf3b1eebc1ca60ecb6e04412f39083d82 (diff) |
fix for EXT-6420: crash at LLImageRaw::LLImageRaw [secondlife-bin llimage.cpp:271]
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 133b6ee8c9..dbbf0219c9 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -2262,11 +2262,14 @@ void LLViewerFetchedTexture::destroyRawImage() { sRawCount--; - if(mForceToSaveRawImage) + if(mIsRawImageValid) { - saveRawImage() ; - } - setCachedRawImage() ; + if(mForceToSaveRawImage) + { + saveRawImage() ; + } + setCachedRawImage() ; + } } mRawImage = NULL; |