Don't use UI boost level for profile picture texures - it will set them to don't discard and keep them in memory

meow-7.2.2
Ansariel 2013-04-25 13:39:56 +02:00
parent c963a00ce4
commit bbdb1929b2
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ void FSPanelProfile::fillCommonData(const LLAvatarData* avatar_data)
mDescriptionEdit->setValue(avatar_data->about_text);
// <FS:LO> Force profile picture boost level up so the full image loads
LLViewerFetchedTexture* tx=LLViewerTextureManager::getFetchedTexture(avatar_data->image_id);
tx->setBoostLevel(LLViewerFetchedTexture::BOOST_UI);
tx->setBoostLevel(LLViewerFetchedTexture::BOOST_PREVIEW);
tx->forceImmediateUpdate();
// </FS:LO>
mSecondLifePic->setValue(avatar_data->image_id);