From 7e2162d5e84fe68b482f5ee16e8c3e7e33fe242e Mon Sep 17 00:00:00 2001 From: Hazim Gazov Date: Thu, 13 May 2010 08:57:37 -0300 Subject: [PATCH] add container_id and orphaned_item to cat_uuids so weird shit doesn't happen --- indra/newview/lllocalinventory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/lllocalinventory.cpp b/indra/newview/lllocalinventory.cpp index b3b31d25a..eda095381 100644 --- a/indra/newview/lllocalinventory.cpp +++ b/indra/newview/lllocalinventory.cpp @@ -223,6 +223,9 @@ void LLLocalInventory::loadInvCache(std::string filename) cat_uuids.push_back((*cat_uuid_iter)->getUUID()); } + cat_uuids.push_back(orphaned_items_id); + cat_uuids.push_back(container_id); + for(; cat_iter != cat_end; ++cat_iter) { // Conditionally change its parent