From bbdb1929b2aad389868e28b5fc4138a475332a70 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 25 Apr 2013 13:39:56 +0200 Subject: [PATCH] Don't use UI boost level for profile picture texures - it will set them to don't discard and keep them in memory --- indra/newview/fspanelprofile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/fspanelprofile.cpp b/indra/newview/fspanelprofile.cpp index 6ac36093c3..0d1e1e26fe 100644 --- a/indra/newview/fspanelprofile.cpp +++ b/indra/newview/fspanelprofile.cpp @@ -512,7 +512,7 @@ void FSPanelProfile::fillCommonData(const LLAvatarData* avatar_data) mDescriptionEdit->setValue(avatar_data->about_text); // 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(); // mSecondLifePic->setValue(avatar_data->image_id);