diff options
| author | James Cook <james@lindenlab.com> | 2010-05-28 08:21:33 -0700 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2010-05-28 08:21:33 -0700 |
| commit | 3bbb622731b2a6a29fc6576dcf4885527d813699 (patch) | |
| tree | 638b86c18e3280629615fc1ebc1c0d185d564116 /indra/newview/llfloateravatartextures.cpp | |
| parent | 7037e8ee9fb73093eecca3d4477be3a85bd62664 (diff) | |
WIP Fix miscellaneous display names in UI
Diffstat (limited to 'indra/newview/llfloateravatartextures.cpp')
| -rw-r--r-- | indra/newview/llfloateravatartextures.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llfloateravatartextures.cpp b/indra/newview/llfloateravatartextures.cpp index fd392d949a..290a343075 100644 --- a/indra/newview/llfloateravatartextures.cpp +++ b/indra/newview/llfloateravatartextures.cpp @@ -33,6 +33,9 @@ #include "llviewerprecompiledheaders.h" #include "llfloateravatartextures.h" +// library headers +#include "llavatarnamecache.h" + #include "llagent.h" #include "llagentwearables.h" #include "lltexturectrl.h" @@ -138,10 +141,10 @@ void LLFloaterAvatarTextures::refresh() LLVOAvatar *avatarp = find_avatar(mID); if (avatarp) { - std::string fullname; - if (gCacheName->getFullName(avatarp->getID(), fullname)) + LLAvatarName av_name; + if (LLAvatarNameCache::get(avatarp->getID(), &av_name)) { - setTitle(mTitle + ": " + fullname); + setTitle(mTitle + ": " + av_name.getCompleteName()); } for (U32 i=0; i < TEX_NUM_INDICES; i++) { |
