When detecting inventory items without parent, not only display a warning but the item names who are without parent too.
parent
20a1bf0669
commit
b7d4a4db37
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue