EXT-7400: FIXED: 2.0.2 texture queue gets jammed
parent
565d5dc1a9
commit
478edbee8c
|
|
@ -1615,6 +1615,7 @@ F32 LLViewerFetchedTexture::calcDecodePriority()
|
|||
S32 ddiscard = MAX_DISCARD_LEVEL - (S32)desired;
|
||||
ddiscard = llclamp(ddiscard, 0, MAX_DELTA_DISCARD_LEVEL_FOR_PRIORITY);
|
||||
priority = (ddiscard + 1) * PRIORITY_DELTA_DISCARD_LEVEL_FACTOR;
|
||||
setAdditionalDecodePriority(1.0f) ;//boost the textures without any data so far.
|
||||
}
|
||||
else if ((mMinDiscardLevel > 0) && (cur_discard <= mMinDiscardLevel))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -444,7 +444,6 @@ BOOL LLWearable::importFile( LLFILE* file )
|
|||
delete mSavedTEMap[te];
|
||||
}
|
||||
|
||||
image->setBoostLevel(LLViewerTexture::BOOST_AVATAR_SELF) ;
|
||||
image->setLoadedCallback(LLVOAvatarSelf::debugOnTimingLocalTexLoaded,0,TRUE,FALSE, new LLVOAvatarSelf::LLAvatarTexData(id, (LLVOAvatarDefines::ETextureIndex)te), NULL);
|
||||
|
||||
LLUUID textureid(text_buffer);
|
||||
|
|
|
|||
Loading…
Reference in New Issue