diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 0c9e0cc6cec1dae48bdb889077e8244a0632b19a..105cf98bc5b5d02889a804097aade87cab5f85c3 100755 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -2212,11 +2212,12 @@ void LLInventoryModel::buildParentChildMap() { LLViewerInventoryCategory* cat = cats.at(i); catsp = getUnlockedCatArray(cat->getParentUUID()); - if(catsp && - // Only the two root folders should be children of null. - // Others should go to lost & found. - (cat->getParentUUID().notNull() || - cat->getPreferredType() == LLFolderType::FT_ROOT_INVENTORY )) + if (catsp && + // Only the two root folders should be children of null. + // Others should go to lost & found. + (cat->getParentUUID().notNull() || + (cat->getPreferredType() == LLFolderType::FT_ROOT_INVENTORY + || (cat->getParentUUID().isNull() && cat->getName() == "My Inventory")))) { catsp->push_back(cat); }