diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-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 15009a3..facd301 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2574,6 +2574,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
2574 | EventManager.TriggerStopScript(part.LocalId, itemID); | 2574 | EventManager.TriggerStopScript(part.LocalId, itemID); |
2575 | } | 2575 | } |
2576 | 2576 | ||
2577 | internal void SendAttachEvent(uint localID, UUID itemID, UUID avatarID) | ||
2578 | { | ||
2579 | EventManager.TriggerOnAttach(localID, itemID, avatarID); | ||
2580 | } | ||
2581 | |||
2577 | public UUID RezSingleAttachment(IClientAPI remoteClient, UUID itemID, | 2582 | public UUID RezSingleAttachment(IClientAPI remoteClient, UUID itemID, |
2578 | uint AttachmentPt) | 2583 | uint AttachmentPt) |
2579 | { | 2584 | { |
@@ -2684,6 +2689,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2684 | remoteClient.SendRemoveInventoryItem(inventoryID); | 2689 | remoteClient.SendRemoveInventoryItem(inventoryID); |
2685 | } | 2690 | } |
2686 | } | 2691 | } |
2692 | SendAttachEvent(part.ParentGroup.LocalId, itemID, UUID.Zero); | ||
2687 | } | 2693 | } |
2688 | 2694 | ||
2689 | public void DetachSingleAttachmentToInv(UUID itemID, IClientAPI remoteClient) | 2695 | public void DetachSingleAttachmentToInv(UUID itemID, IClientAPI remoteClient) |