diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-16 15:29:41 -0400 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-16 15:29:41 -0400 |
| commit | cc5beffdf45fcb3d76bd83af1dc7394ba6ea65d7 (patch) | |
| tree | 9c62f5ff0a8547ca2f0b7d46bb418fd3a4c87857 /indra/newview/llinventoryobserver.cpp | |
| parent | bc91053543278b56d7009ab6bbcdee88a0ee1418 (diff) | |
| parent | 5635f10c41a72c62cbf44ae9415aadb83447ca22 (diff) | |
merge
Diffstat (limited to 'indra/newview/llinventoryobserver.cpp')
| -rw-r--r-- | indra/newview/llinventoryobserver.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp index bd35259670..0ac8fbcb15 100644 --- a/indra/newview/llinventoryobserver.cpp +++ b/indra/newview/llinventoryobserver.cpp @@ -308,7 +308,16 @@ void LLInventoryFetchItemsObserver::startFetch() // assume it's agent inventory. owner_id = gAgent.getID(); } - + + // Ignore categories since they're not items. We + // could also just add this to mComplete but not sure what the + // side-effects would be, so ignoring to be safe. + LLViewerInventoryCategory* cat = gInventory.getCategory(*it); + if (cat) + { + continue; + } + // It's incomplete, so put it on the incomplete container, and // pack this on the message. mIncomplete.push_back(*it); |
