diff options
| author | leyla_linden <none@none> | 2011-02-01 15:42:52 -0800 |
|---|---|---|
| committer | leyla_linden <none@none> | 2011-02-01 15:42:52 -0800 |
| commit | 990a6206604b0a5e33902145b496f39927f6d5b9 (patch) | |
| tree | c0d7561dc56b9003387554a640505af8fcc7cc51 /indra/newview/llviewertexture.cpp | |
| parent | 1b366dfe72c5852904468aaf8ff66e8e7be88318 (diff) | |
| parent | 7c5c82cb116b2dfd163055994803e07a1bfd5a8b (diff) | |
Merge
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
| -rwxr-xr-x | 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 092edafdbb..34b0ae9f02 100755 --- 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 |
