diff options
author | Rider Linden <rider@lindenlab.com> | 2017-05-01 09:04:14 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2017-05-01 09:04:14 -0700 |
commit | bb0e2e6b957f9abf3ddc819d20aea3936d500467 (patch) | |
tree | bc6ed362332740ea6e5829966d1afd618f1b60fb /indra/newview/llnamebox.cpp | |
parent | dca8d3b5f569ed0b074a58cd054ea3065a15a717 (diff) | |
parent | f62b5503285d828813d87779fa0658ee5f122ac5 (diff) |
Merged lindenlab/viewer-release into default
Diffstat (limited to 'indra/newview/llnamebox.cpp')
-rw-r--r-- | indra/newview/llnamebox.cpp | 5 |
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 { |