diff options
| author | andreykproductengine <akleshchev@productengine.com> | 2017-02-15 20:40:03 +0200 |
|---|---|---|
| committer | andreykproductengine <akleshchev@productengine.com> | 2017-02-15 20:40:03 +0200 |
| commit | 605160d501158362ced3e62425bdcd8d28895fd5 (patch) | |
| tree | 0bd0338860645e47902b9f761d6309bc46688116 /indra/newview/llnameeditor.cpp | |
| parent | 9c015df3fab0b5cc229ad1a0393e5da50ee29883 (diff) | |
MAINT-7118 Swapping legacy people API with new cache
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 { |
