viewer-private#236 Don't block removal of marketplace folders

Marketplace is not visible outside of own floater and that floater will
do an extra warning when deleting listings that have additional data.
master
Andrey Kleshchev 2024-05-09 01:54:03 +03:00 committed by Andrey Lihatskiy
parent e316f5cff9
commit d5378e9cab
1 changed files with 0 additions and 6 deletions

View File

@ -843,12 +843,6 @@ bool get_is_category_and_children_removable(LLInventoryModel* model, const LLUUI
return false;
}
const LLUUID mp_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_MARKETPLACE_LISTINGS);
if (mp_id.notNull() && gInventory.isObjectDescendentOf(folder_id, mp_id))
{
return false;
}
LLInventoryModel::cat_array_t cat_array;
LLInventoryModel::item_array_t item_array;
model->collectDescendents(