From f41b7bb8dff075d8c32ea03be407d20fe11e71f3 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Mon, 3 Dec 2007 19:44:04 +0000 Subject: -74901 (back out premature commit to release) --- indra/newview/llpreviewgesture.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'indra/newview/llpreviewgesture.cpp') diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp index 9fa364a339..051e328a6b 100644 --- a/indra/newview/llpreviewgesture.cpp +++ b/indra/newview/llpreviewgesture.cpp @@ -955,11 +955,6 @@ void LLPreviewGesture::onLoadComplete(LLVFS *vfs, } else { - // Get missing gesture's name. Use UUID if name can't be found. - LLStringBase::format_map_t args; - LLInventoryItem *item = gInventory.getItem( *item_idp ); - args["[NAME]"] = item ? item->getName() : LLString( item_idp->asString() ); - if( gViewerStats ) { gViewerStats->incStat( LLViewerStats::ST_DOWNLOAD_FAILED ); @@ -968,11 +963,11 @@ void LLPreviewGesture::onLoadComplete(LLVFS *vfs, 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; -- cgit v1.2.3