diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-31 12:34:17 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-31 12:34:17 -0500 |
commit | ed308d15bf2f88f91687411cd92f6cc55b1e75b4 (patch) | |
tree | 9353a91515097c1088ed850ab27372e433f2f7c1 /indra/newview/llviewertexture.cpp | |
parent | 5322021746582195df6b7ad5843a7da09e617917 (diff) | |
parent | cb6d59513eabe72029821a96191873351fd5c753 (diff) |
merge changes for storm-845
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 0c05a301e6..cd16b15e3e 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1214,12 +1214,15 @@ void LLViewerFetchedTexture::cleanup() void LLViewerFetchedTexture::setForSculpt() { + static const S32 MAX_INTERVAL = 8 ; //frames + mForSculpt = TRUE ; if(isForSculptOnly() && !getBoundRecently()) { destroyGLTexture() ; //sculpt image does not need gl texture. } checkCachedRawSculptImage() ; + setMaxVirtualSizeResetInterval(MAX_INTERVAL) ; } BOOL LLViewerFetchedTexture::isForSculptOnly() const |