diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-03-26 18:12:19 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-03-26 18:12:19 +0200 |
commit | f74071b19fcac12b92a5f3611a068be30ae3fbd2 (patch) | |
tree | bd43f984a64096f87d9169774ca6ee95d808ffb3 | |
parent | 3c4cf92932fb8215f496e4100cfa3b6f3a4372b4 (diff) |
SL-2878 Fixed eternal properties rerequests
-rw-r--r-- | indra/newview/llpanelprofile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index d03d3f59b8..e5fa8de6a0 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -471,8 +471,9 @@ void LLPanelProfileSecondLife::onAvatarNameCache(const LLUUID& agent_id, const L void LLPanelProfileSecondLife::fillCommonData(const LLAvatarData* avatar_data) { - //remove avatar id from cache to get fresh info - LLAvatarIconIDCache::getInstance()->remove(avatar_data->avatar_id); + // Refresh avatar id in cache with new info to prevent re-requests + // and to make sure icons in text will be up to date + LLAvatarIconIDCache::getInstance()->add(avatar_data->avatar_id, avatar_data->image_id); LLStringUtil::format_map_t args; { |