diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index f5e9be1..46777e1 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2309,7 +2309,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2309 | ScenePresence presence; | 2309 | ScenePresence presence; |
2310 | if (TryGetAvatar(remoteClient.AgentId, out presence)) | 2310 | if (TryGetAvatar(remoteClient.AgentId, out presence)) |
2311 | { | 2311 | { |
2312 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID); | 2312 | InventoryItemBase item = InventoryService.GetItem(new InventoryItemBase(itemID, remoteClient.AgentId)); |
2313 | |||
2314 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); | ||
2313 | IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); | 2315 | IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); |
2314 | if (ava != null) | 2316 | if (ava != null) |
2315 | { | 2317 | { |