From d31aa45faff3d39f286bbaf4ed44b084337a2fd3 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 23 Jun 2019 11:23:32 +0200 Subject: [PATCH] Maybe this helps with profile images being shown at low resolution... --- indra/newview/fspanelprofile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/fspanelprofile.cpp b/indra/newview/fspanelprofile.cpp index b9f69adec7..90f5be5041 100644 --- a/indra/newview/fspanelprofile.cpp +++ b/indra/newview/fspanelprofile.cpp @@ -475,6 +475,12 @@ void FSPanelProfileSecondLife::fillCommonData(const LLAvatarData* avatar_data) getChild("register_date")->setValue(register_date ); mDescriptionEdit->setValue(avatar_data->about_text); mSecondLifePic->setValue(avatar_data->image_id); + + LLViewerFetchedTexture* imagep = LLViewerTextureManager::getFetchedTexture(avatar_data->image_id); + if (!imagep->getFullHeight()) + { + imagep->forceToRefetchTexture(); + } if (getSelfProfile()) {