diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 4019c12..cedf405 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2458,8 +2458,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2458 | return; | 2458 | return; |
2459 | } | 2459 | } |
2460 | 2460 | ||
2461 | m_log.DebugFormat("[SCENE INVENTORY]: {0} {1} IsAttachment={2}", att.Name, att.LocalId, att.IsAttachment); | ||
2462 | Console.WriteLine("HERE X"); | ||
2463 | ScenePresence presence; | 2461 | ScenePresence presence; |
2464 | if (TryGetAvatar(remoteClient.AgentId, out presence)) | 2462 | if (TryGetAvatar(remoteClient.AgentId, out presence)) |
2465 | { | 2463 | { |
@@ -2467,12 +2465,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2467 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); | 2465 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); |
2468 | item = InventoryService.GetItem(item); | 2466 | item = InventoryService.GetItem(item); |
2469 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); | 2467 | presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/); |
2470 | Console.WriteLine("HERE Y"); | ||
2471 | 2468 | ||
2472 | if (m_AvatarFactory != null) | 2469 | if (m_AvatarFactory != null) |
2473 | m_AvatarFactory.UpdateDatabase(remoteClient.AgentId, presence.Appearance); | 2470 | m_AvatarFactory.UpdateDatabase(remoteClient.AgentId, presence.Appearance); |
2474 | |||
2475 | Console.WriteLine("HERE Z"); | ||
2476 | } | 2471 | } |
2477 | } | 2472 | } |
2478 | 2473 | ||
@@ -2655,4 +2650,4 @@ namespace OpenSim.Region.Framework.Scenes | |||
2655 | m_sceneGraph.LinkObjects(root, children); | 2650 | m_sceneGraph.LinkObjects(root, children); |
2656 | } | 2651 | } |
2657 | } | 2652 | } |
2658 | } | 2653 | } \ No newline at end of file |