From f988cd36b642bbb0967bb65a163917ae734643e9 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 2 Dec 2013 22:45:44 -0500 Subject: [PATCH] Attempt to fix Issue 1264: Vacant lines in Friends list --- indra/newview/llfloaterfriends.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llfloaterfriends.cpp b/indra/newview/llfloaterfriends.cpp index 4d7091c56..955af629d 100644 --- a/indra/newview/llfloaterfriends.cpp +++ b/indra/newview/llfloaterfriends.cpp @@ -418,6 +418,7 @@ BOOL LLPanelFriends::addFriend(const LLUUID& agent_id) std::string fullname; BOOL have_name = LLAvatarNameCache::getPNSName(agent_id, fullname); + if (!have_name) gCacheName->getFullName(agent_id, fullname); LLSD element; element["id"] = agent_id; @@ -505,6 +506,7 @@ BOOL LLPanelFriends::updateFriendItem(const LLUUID& agent_id, const LLRelationsh std::string fullname; BOOL have_name = LLAvatarNameCache::getPNSName(agent_id, fullname); + if (!have_name) gCacheName->getFullName(agent_id, fullname); // Name of the status icon to use std::string statusIcon;