diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-27 09:28:57 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-27 09:28:57 -0500 |
commit | f59b065a973c88c09da5a86bbcfb7e4175148532 (patch) | |
tree | 599b8cb554bec459bf2b4be72dc1d7b1e5bdac20 /indra/newview/llviewertexture.cpp | |
parent | 5833672c5c10722e92137fb1f439df5045e4a9e6 (diff) | |
parent | 8b2b0ba2df1f21490f6cf454a5f62cf5f7b4f833 (diff) |
update autobuild configuration
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 |