summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-02-01 09:44:47 -0800
committerTofu Buzzard <no-email>2011-02-01 09:44:47 -0800
commit7ddf7e17c01242901cef9219e27077e0d1243997 (patch)
tree3e256a2e6af59ebed663e8d5bdd31f3b73e1e02d /indra/newview/llviewertexture.cpp
parent622c5f11306c88055fc1be0a290041ef7e3394a4 (diff)
parentc7d0fab7b9279c5f6a57ee3de103b8fb142fb747 (diff)
merge
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rwxr-xr-xindra/newview/llviewertexture.cpp3
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