send inventory update

master
Christopher 2020-07-10 20:27:08 +02:00
parent c25138abc7
commit 9f0d7c3623
1 changed files with 5 additions and 0 deletions

View File

@ -115,8 +115,11 @@ namespace OpenSim.Modules.Appearance2Avatar
_itemIDs.Add(item.ID); _itemIDs.Add(item.ID);
m_scene.InventoryService.DeleteItems(sp.UUID, _itemIDs); m_scene.InventoryService.DeleteItems(sp.UUID, _itemIDs);
m_scene.InventoryService.UpdateFolder(_outfitFolder);
} }
//Load Appearance //Load Appearance
OSDMap appearanceOsd = (OSDMap)OSDParser.DeserializeLLSDXml(noteCardContend); OSDMap appearanceOsd = (OSDMap)OSDParser.DeserializeLLSDXml(noteCardContend);
AvatarAppearance _appearance = new AvatarAppearance(appearanceOsd); AvatarAppearance _appearance = new AvatarAppearance(appearanceOsd);
@ -141,6 +144,8 @@ namespace OpenSim.Modules.Appearance2Avatar
m_scene.InventoryService.AddItem(_item); m_scene.InventoryService.AddItem(_item);
} }
m_scene.InventoryService.UpdateFolder(_outfitFolder);
} }
//Send Update //Send Update