remove only attachments from outfit folder

master
Christopher 2020-07-10 20:23:38 +02:00
parent df9c30b609
commit c25138abc7
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ namespace OpenSim.Modules.Appearance2Avatar
List<UUID> _itemIDs = new List<UUID>();
foreach (InventoryItemBase item in _outfitFolderContend.Items.ToArray())
_itemIDs.Add(item.ID);
if (item.InvType == (int)AssetType.Object)
_itemIDs.Add(item.ID);
m_scene.InventoryService.DeleteItems(sp.UUID, _itemIDs);
}