summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnsariel Hiller <Ansariel@users.noreply.github.com>2025-05-29 15:30:41 +0200
committerGitHub <noreply@github.com>2025-05-29 16:30:41 +0300
commit6f9883429ccdfbf63738051e76331fd68b3e627f (patch)
tree2115734bfc66bb7b2155b10fa804e1e19aa8f945
parent91adb11d10fe0c18790be64fa7a6ce5b0bbdcb09 (diff)
Remove duplicated code (#4187)
-rw-r--r--indra/newview/lloutfitgallery.cpp11
1 files changed, 0 insertions, 11 deletions
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,