summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-09 01:54:03 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-13 17:30:25 +0300
commitd5378e9cab2024237b4d900057ba59f7f22f4594 (patch)
treecd1229981211bc886b48bb30d9d1576468be7482
parente316f5cff9611fe7c9d248de93f8584d95c3e0ab (diff)
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.
-rw-r--r--indra/newview/llinventoryfunctions.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index c8aa235506..016b0880eb 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -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(