aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs3
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;
35using OpenSim.Region.Framework; 35using OpenSim.Region.Framework;
36using OpenSim.Region.Framework.Interfaces; 36using OpenSim.Region.Framework.Interfaces;
37using OpenSim.Region.Framework.Scenes; 37using OpenSim.Region.Framework.Scenes;
38using OpenSim.Region.Framework.Scenes.Serialization;
38 39
39namespace OpenSim.Region.CoreModules.Avatar.Attachments 40namespace 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);