diff options
author | Oz Linden <oz@lindenlab.com> | 2017-04-19 16:27:38 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-04-19 16:27:38 -0400 |
commit | 1b032c37833be3a03170a28b1955c55061936442 (patch) | |
tree | f4500e347b6f18eeafe61217c4a9f884a8ebea34 /indra/newview/llnameeditor.cpp | |
parent | e07a60f6cc80d052377996b8c3ef9a9a20e20584 (diff) | |
parent | f62b5503285d828813d87779fa0658ee5f122ac5 (diff) |
merge changes for 5.0.4-release
Diffstat (limited to 'indra/newview/llnameeditor.cpp')
-rw-r--r-- | indra/newview/llnameeditor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llnameeditor.cpp b/indra/newview/llnameeditor.cpp index b3b1ff7c06..055754f270 100644 --- a/indra/newview/llnameeditor.cpp +++ b/indra/newview/llnameeditor.cpp @@ -28,6 +28,7 @@ #include "llnameeditor.h" #include "llcachename.h" +#include "llavatarnamecache.h" #include "llfontgl.h" @@ -65,7 +66,9 @@ void LLNameEditor::setNameID(const LLUUID& name_id, BOOL is_group) if (!is_group) { - gCacheName->getFullName(name_id, name); + LLAvatarName av_name; + LLAvatarNameCache::get(name_id, &av_name); + name = av_name.getUserName(); } else { |