Resolve issue with sculpties loading with incorrect discard levels.
This commit is contained in:
@@ -1337,9 +1337,10 @@ void LLViewerFetchedTexture::setForSculpt()
|
||||
static const S32 MAX_INTERVAL = 8 ; //frames
|
||||
|
||||
mForSculpt = TRUE ;
|
||||
if(isForSculptOnly() && !getBoundRecently())
|
||||
if(isForSculptOnly() && hasGLTexture() && !getBoundRecently())
|
||||
{
|
||||
destroyGLTexture() ; //sculpt image does not need gl texture.
|
||||
mTextureState = ACTIVE;
|
||||
}
|
||||
checkCachedRawSculptImage() ;
|
||||
setMaxVirtualSizeResetInterval(MAX_INTERVAL) ;
|
||||
|
||||
Reference in New Issue
Block a user