aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index e2f6a9e..f4bc495 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -137,7 +137,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
137 public void SaveChangedAttachments(IScenePresence sp) 137 public void SaveChangedAttachments(IScenePresence sp)
138 { 138 {
139 // Need to copy this list because DetachToInventoryPrep mods it 139 // Need to copy this list because DetachToInventoryPrep mods it
140 List<SceneObjectGroup> attachments = new List<SceneObjectGroup>(sp.Attachments.ToArray()); 140 List<SceneObjectGroup> attachments = new List<SceneObjectGroup>(sp.Attachments);
141 141
142 foreach (SceneObjectGroup grp in attachments) 142 foreach (SceneObjectGroup grp in attachments)
143 { 143 {