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/llpanelpicks.cpp | |
parent | 9c015df3fab0b5cc229ad1a0393e5da50ee29883 (diff) |
MAINT-7118 Swapping legacy people API with new cache
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rw-r--r-- | indra/newview/llpanelpicks.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index 55c09d85ea..77bc99da83 100644 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -384,9 +384,9 @@ void LLPanelPicks::processProperties(void* data, EAvatarProcessorType type) LLAvatarPicks* avatar_picks = static_cast<LLAvatarPicks*>(data); if(avatar_picks && getAvatarId() == avatar_picks->target_id) { - std::string full_name; - gCacheName->getFullName(getAvatarId(), full_name); - getChild<LLUICtrl>("pick_title")->setTextArg("[NAME]", full_name); + LLAvatarName av_name; + LLAvatarNameCache::get(getAvatarId(), &av_name); + getChild<LLUICtrl>("pick_title")->setTextArg("[NAME]", av_name.getUserName()); // Save selection, to be able to edit same item after saving changes. See EXT-3023. LLUUID selected_id = mPicksList->getSelectedValue()[PICK_ID]; |