summaryrefslogtreecommitdiff
path: root/indra/newview/llgesturemgr.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
commitf41b7bb8dff075d8c32ea03be407d20fe11e71f3 (patch)
tree08bf4cb9354f975940b83cd695a2aa8bb8d74870 /indra/newview/llgesturemgr.cpp
parentd5eef2d8a6cc0d5855d68d0726565e07d46211b2 (diff)
-74901 (back out premature commit to release)
Diffstat (limited to 'indra/newview/llgesturemgr.cpp')
-rw-r--r--indra/newview/llgesturemgr.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 32c712d926..537cadf1d1 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -1006,20 +1006,14 @@ void LLGestureManager::onLoadComplete(LLVFS *vfs,
gViewerStats->incStat( LLViewerStats::ST_DOWNLOAD_FAILED );
}
- // Get missing gesture's name. Use UUID if name can't be found.
- LLStringBase<char>::format_map_t args;
- LLInventoryItem *item = gInventory.getItem( item_id );
- args["[NAME]"] = item ? item->getName() : LLString( item_id.asString() );
-
-
if( LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE == status ||
LL_ERR_FILE_EMPTY == status)
{
- LLNotifyBox::showXml("GestureMissing", args);
+ LLNotifyBox::showXml("GestureMissing");
}
else
{
- LLNotifyBox::showXml("UnableToLoadGesture", args);
+ LLNotifyBox::showXml("UnableToLoadGesture");
}
llwarns << "Problem loading gesture: " << status << llendl;