From 6f9883429ccdfbf63738051e76331fd68b3e627f Mon Sep 17 00:00:00 2001 From: Ansariel Hiller Date: Thu, 29 May 2025 15:30:41 +0200 Subject: Remove duplicated code (#4187) --- indra/newview/lloutfitgallery.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp index 80cc01f1ab..3adee9fa16 100644 --- a/indra/newview/lloutfitgallery.cpp +++ b/indra/newview/lloutfitgallery.cpp @@ -832,17 +832,6 @@ void LLOutfitGallery::updateAddedCategory(LLUUID cat_id) return; } - if (!isOutfitFolder(cat)) - { - // Assume a subfolder that contains or will contain outfits, track it - const LLUUID outfits = gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS); - mCategoriesObserver->addCategory(cat_id, [this, outfits]() - { - observerCallback(outfits); - }); - return; - } - LLOutfitGalleryItem* item = buildGalleryItem(cat->getName(), cat_id, cat->getIsFavorite()); mOutfitMap.insert(LLOutfitGallery::outfit_map_value_t(cat_id, item)); item->setRightMouseDownCallback(boost::bind(&LLOutfitListBase::outfitRightClickCallBack, this, -- cgit v1.2.3