When detecting inventory items without parent, not only display a warning but the item names who are without parent too.

Nicky 2012-03-20 21:57:24 +01:00
parent 20a1bf0669
commit b7d4a4db37
1 changed files with 11 additions and 1 deletions

View File

@ -820,7 +820,17 @@ void LLInventoryPanel::addSubItems(const LLUUID& id, long aRecursionCount)
}
else if( items )
{
llwarns << "No parent folder for items" << llendl;
llwarns << "No parent folder for items; items:" << llendl;
for (LLViewerInventoryItem::item_array_t::const_iterator item_iter = items->begin();
item_iter != items->end();
++item_iter)
{
const LLViewerInventoryItem* item = (*item_iter);
if( item )
llwarns << " name: " << item->getName() << llendl;
}
llwarns << "end of item enumeratin" << llendl;
}
mInventory->unlockDirectDescendentArrays(id);
}