diff options
author | James Cook <james@lindenlab.com> | 2010-05-26 10:48:42 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-05-26 10:48:42 -0700 |
commit | cbf5396ea7c303413b37c543fa028dcdfaa12612 (patch) | |
tree | deef22268c774cb3a6b6e9de89326b5091ba87f8 /indra/newview | |
parent | 703cd608005a60a55963bb5920fd3bec113c7384 (diff) |
DEV-50013 Inventory item properties in sidetray uses completename
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsidepaneliteminfo.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llsidepaneliteminfo.cpp b/indra/newview/llsidepaneliteminfo.cpp index 0ec351965a..fabb80ab02 100644 --- a/indra/newview/llsidepaneliteminfo.cpp +++ b/indra/newview/llsidepaneliteminfo.cpp @@ -283,8 +283,9 @@ void LLSidepanelItemInfo::refreshFromItem(LLViewerInventoryItem* item) if (item->getCreatorUUID().notNull()) { - std::string name; - gCacheName->getFullName(item->getCreatorUUID(), name); + LLUUID creator_id = item->getCreatorUUID(); + std::string name = + LLSLURL("agent", creator_id, "completename").getSLURLString(); childSetEnabled("BtnCreator",TRUE); childSetEnabled("LabelCreatorTitle",TRUE); childSetEnabled("LabelCreatorName",TRUE); @@ -310,7 +311,8 @@ void LLSidepanelItemInfo::refreshFromItem(LLViewerInventoryItem* item) } else { - gCacheName->getFullName(perm.getOwner(), name); + LLUUID owner_id = perm.getOwner(); + name = LLSLURL("agent", owner_id, "completename").getSLURLString(); } childSetEnabled("BtnOwner",TRUE); childSetEnabled("LabelOwnerTitle",TRUE); |