diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-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 cea9044..f5e9be1 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2357,7 +2357,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2357 | ScenePresence presence; | 2357 | ScenePresence presence; |
2358 | if (TryGetAvatar(remoteClient.AgentId, out presence)) | 2358 | if (TryGetAvatar(remoteClient.AgentId, out presence)) |
2359 | { | 2359 | { |
2360 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID); | 2360 | // XXYY!! |
2361 | InventoryItemBase item = InventoryService.GetItem(new InventoryItemBase(itemID)); | ||
2362 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); | ||
2361 | IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); | 2363 | IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); |
2362 | if (ava != null) | 2364 | if (ava != null) |
2363 | { | 2365 | { |