remove only attachments from outfit folder
parent
df9c30b609
commit
c25138abc7
|
@ -111,6 +111,7 @@ namespace OpenSim.Modules.Appearance2Avatar
|
|||
|
||||
List<UUID> _itemIDs = new List<UUID>();
|
||||
foreach (InventoryItemBase item in _outfitFolderContend.Items.ToArray())
|
||||
if (item.InvType == (int)AssetType.Object)
|
||||
_itemIDs.Add(item.ID);
|
||||
|
||||
m_scene.InventoryService.DeleteItems(sp.UUID, _itemIDs);
|
||||
|
|
Loading…
Reference in New Issue