summaryrefslogtreecommitdiff
path: root/indra/newview/llnamebox.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2017-04-19 16:27:38 -0400
committerOz Linden <oz@lindenlab.com>2017-04-19 16:27:38 -0400
commit1b032c37833be3a03170a28b1955c55061936442 (patch)
treef4500e347b6f18eeafe61217c4a9f884a8ebea34 /indra/newview/llnamebox.cpp
parente07a60f6cc80d052377996b8c3ef9a9a20e20584 (diff)
parentf62b5503285d828813d87779fa0658ee5f122ac5 (diff)
merge changes for 5.0.4-release
Diffstat (limited to 'indra/newview/llnamebox.cpp')
-rw-r--r--indra/newview/llnamebox.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llnamebox.cpp b/indra/newview/llnamebox.cpp
index 1099316a19..8d32fb1d5c 100644
--- a/indra/newview/llnamebox.cpp
+++ b/indra/newview/llnamebox.cpp
@@ -35,6 +35,7 @@
#include "lluuid.h"
#include "llcachename.h"
+#include "llavatarnamecache.h"
// statics
std::set<LLNameBox*> LLNameBox::sInstances;
@@ -67,7 +68,9 @@ void LLNameBox::setNameID(const LLUUID& name_id, BOOL is_group)
if (!is_group)
{
- got_name = gCacheName->getFullName(name_id, name);
+ LLAvatarName av_name;
+ got_name = LLAvatarNameCache::get(name_id, &av_name);
+ name = av_name.getUserName();
}
else
{