remove pointless ToArray() call in AttachmentsModule.SaveChangedAttachments()
parent
1809aaf74c
commit
2acfff9f6d
|
@ -137,7 +137,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
|||
public void SaveChangedAttachments(IScenePresence sp)
|
||||
{
|
||||
// Need to copy this list because DetachToInventoryPrep mods it
|
||||
List<SceneObjectGroup> attachments = new List<SceneObjectGroup>(sp.Attachments.ToArray());
|
||||
List<SceneObjectGroup> attachments = new List<SceneObjectGroup>(sp.Attachments);
|
||||
|
||||
foreach (SceneObjectGroup grp in attachments)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue