summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-10 23:55:05 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-10 23:55:05 +0200
commitda27311473c2c2cc35440f88aa25c9378fc8f4d4 (patch)
treefd2ce95a3a40bfdbdeeedabff4a51c2ead2b79e6 /indra/newview/llappearancemgr.cpp
parent9d90fbc73df9c07deef8737e56cc3f466d2c4d05 (diff)
SL-18629 Creare items via AIS placeholder
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp31
1 files changed, 7 insertions, 24 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 1c55113082..4e36a4c351 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -3996,34 +3996,17 @@ void LLAppearanceMgr::makeNewOutfitLinks(const std::string& new_folder_name, boo
// First, make a folder in the My Outfits directory.
const LLUUID parent_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS);
- // D567 replace with coros
- if (AISAPI::isAvailable())
- {
- // cap-based category creation was buggy until recently. use
- // existence of AIS as an indicator the fix is present. Does
- // not actually use AIS to create the category.
- inventory_func_type func = boost::bind(&LLAppearanceMgr::onOutfitFolderCreated,this,_1,show_panel);
- // D567 copy thumbnail info from source folder
- gInventory.createNewCategory(
- parent_id,
- LLFolderType::FT_OUTFIT,
- new_folder_name,
- func);
- }
- else
- {
- // UDP PATH, should remove
- // D567 copy thumbnail info from source folder
- gInventory.createNewCategory(
- parent_id,
- LLFolderType::FT_OUTFIT,
- new_folder_name,
- [show_panel](const LLUUID &new_cat_id)
+ // UDP PATH, should remove
+ // D567 copy thumbnail info from source folder
+ gInventory.createNewCategory(
+ parent_id,
+ LLFolderType::FT_OUTFIT,
+ new_folder_name,
+ [show_panel](const LLUUID &new_cat_id)
{
LLAppearanceMgr::getInstance()->onOutfitFolderCreated(new_cat_id, show_panel);
});
- }
}
void LLAppearanceMgr::wearBaseOutfit()