diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index a667b80..8307467 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -35,6 +35,7 @@ using OpenSim.Framework; | |||
35 | using OpenSim.Region.Framework; | 35 | using OpenSim.Region.Framework; |
36 | using OpenSim.Region.Framework.Interfaces; | 36 | using OpenSim.Region.Framework.Interfaces; |
37 | using OpenSim.Region.Framework.Scenes; | 37 | using OpenSim.Region.Framework.Scenes; |
38 | using OpenSim.Region.Framework.Scenes.Serialization; | ||
38 | 39 | ||
39 | namespace OpenSim.Region.CoreModules.Avatar.Attachments | 40 | namespace OpenSim.Region.CoreModules.Avatar.Attachments |
40 | { | 41 | { |
@@ -405,6 +406,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
405 | if (group.GetFromItemID() == itemID) | 406 | if (group.GetFromItemID() == itemID) |
406 | { | 407 | { |
407 | m_scene.EventManager.TriggerOnAttach(group.LocalId, itemID, UUID.Zero); | 408 | m_scene.EventManager.TriggerOnAttach(group.LocalId, itemID, UUID.Zero); |
409 | // CM / XMREngine!!!! Needed to conclude attach event | ||
410 | SceneObjectSerializer.ToOriginalXmlFormat(group); | ||
408 | group.DetachToInventoryPrep(); | 411 | group.DetachToInventoryPrep(); |
409 | m_log.Debug("[ATTACHMENTS MODULE]: Saving attachpoint: " + ((uint)group.GetAttachmentPoint()).ToString()); | 412 | m_log.Debug("[ATTACHMENTS MODULE]: Saving attachpoint: " + ((uint)group.GetAttachmentPoint()).ToString()); |
410 | m_scene.UpdateKnownItem(remoteClient, group,group.GetFromItemID(), group.OwnerID); | 413 | m_scene.UpdateKnownItem(remoteClient, group,group.GetFromItemID(), group.OwnerID); |