diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 09d02f4..0b0c205 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2393,6 +2393,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2393 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); | 2393 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); |
2394 | item = InventoryService.GetItem(item); | 2394 | item = InventoryService.GetItem(item); |
2395 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); | 2395 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); |
2396 | |||
2397 | if (m_AvatarFactory != null) | ||
2398 | { | ||
2399 | m_AvatarFactory.UpdateDatabase(remoteClient.AgentId, presence.Appearance); | ||
2400 | } | ||
2401 | |||
2396 | } | 2402 | } |
2397 | } | 2403 | } |
2398 | 2404 | ||