aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-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 f4e1eae..0cc630f 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -779,6 +779,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
779 // on detach. It's likely a temp attachment. 779 // on detach. It's likely a temp attachment.
780 if (so.FromItemID == UUID.Zero) 780 if (so.FromItemID == UUID.Zero)
781 { 781 {
782 // Retirn value is ignored
783 PrepareScriptInstanceForSave(so, true);
784
782 lock (sp.AttachmentsSyncLock) 785 lock (sp.AttachmentsSyncLock)
783 { 786 {
784 bool changed = sp.Appearance.DetachAttachment(so.FromItemID); 787 bool changed = sp.Appearance.DetachAttachment(so.FromItemID);