viewer-private#268 When deleting worn items, move them to trash

master
Andrey Kleshchev 2024-08-15 18:17:39 +03:00 committed by Andrey Kleshchev
parent 75c422613f
commit 9daa5b000c
1 changed files with 2 additions and 2 deletions

View File

@ -3637,11 +3637,11 @@ void LLInventoryAction::onItemsRemovalConfirmation(const LLSD& notification, con
{
for (const LLUUID& id : item_deletion_list)
{
remove_inventory_item(id, NULL);
gInventory.removeItem(id);
}
for (const LLUUID& id : cat_deletion_list)
{
remove_inventory_category(id, NULL);
gInventory.removeCategory(id);
}
});
}