send inventory update
parent
c25138abc7
commit
9f0d7c3623
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue