Fix unable to delete links and make more purdy

This commit is contained in:
Siana Gearz
2011-11-07 05:34:12 +01:00
parent 5de4f1e2da
commit 34fb647903
3 changed files with 14 additions and 7 deletions

View File

@@ -1130,6 +1130,9 @@ void LLAgentWearables::makeNewOutfit(
if( old_wearable )
{
LLViewerInventoryItem* item = gInventory.getItem(getWearableItemID((LLWearableType::EType)index));
llassert(item);
if (!item)
continue;
if (fUseOutfits)
{
std::string strOrdering = llformat("@%d", item->getWearableType() * 100);