summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-09-08 16:39:58 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-09-08 16:39:58 -0700
commitbc80e6c7f396d4182efbf7fc1d52765949bd3a77 (patch)
treeace730daa90e64f61bd718c811e601d995c0fe8f
parent40a6786af669cd8ed030d1e6f0de43d98492f98a (diff)
simplifying the inspector tooltip logic
-rw-r--r--indra/newview/lltoolpie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index 6c45b7cc60..f8bf647670 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -878,7 +878,7 @@ BOOL LLToolPie::handleTooltipObject( LLViewerObject* hover_object, std::string l
if (LLAvatarNameCache::useDisplayNames() &&
LLAvatarNameCache::get(hover_object->getID(), &av_name))
{
- final_name = av_name.mDisplayName + " (" + av_name.mUsername + ")";
+ final_name = av_name.getCompleteName();
}
else
{