aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index d47ca4b..0825a01 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -715,6 +715,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
715 } 715 }
716 716
717 m_scene.EventManager.TriggerOnAttach(so.LocalId, so.UUID, UUID.Zero); 717 m_scene.EventManager.TriggerOnAttach(so.LocalId, so.UUID, UUID.Zero);
718
719 // Attach (NULL) stops scripts. We don't want that. Resume them.
720 so.ResumeScripts();
718 } 721 }
719 722
720 public void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup so) 723 public void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup so)
@@ -1244,7 +1247,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
1244 + ", AttachmentPoint: " + AttachmentPt); 1247 + ", AttachmentPoint: " + AttachmentPt);
1245 1248
1246 // Save avatar attachment information 1249 // Save avatar attachment information
1247 m_scene.EventManager.TriggerOnAttach(objectLocalID, part.ParentGroup.FromItemID, remoteClient.AgentId); 1250 m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID);
1248 } 1251 }
1249 } 1252 }
1250 catch (Exception e) 1253 catch (Exception e)