diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-19 21:17:38 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-19 21:17:38 -0700 |
commit | 47e31543932815adf89712229c0ad71b17d8a0f1 (patch) | |
tree | 47b2df33ebcc30b6162afbf8325c85656bd5e3d6 /indra/newview/llviewertexture.cpp | |
parent | c46cbafb15ff48515fdff8f1fd78b99391ddd4d7 (diff) |
fix for SH-730: sculpted prim attachment shapes on impostored avatars load very slowly
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 f96b93da4d..1c246a5c87 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1205,12 +1205,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 |