remove only attachments from outfit folder
parent
df9c30b609
commit
c25138abc7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue