From b7d4a4db37fcfabae2c9edace6e44f829a0209d3 Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 20 Mar 2012 21:57:24 +0100 Subject: [PATCH] When detecting inventory items without parent, not only display a warning but the item names who are without parent too. --- indra/newview/llinventorypanel.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 930598a296..51d657a4ab 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -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); }