diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 7ba30fc..210f5cd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -630,10 +630,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
630 | rootPart.Name = item.Name; | 630 | rootPart.Name = item.Name; |
631 | rootPart.Description = item.Description; | 631 | rootPart.Description = item.Description; |
632 | 632 | ||
633 | List<SceneObjectPart> partList = null; | 633 | SceneObjectPart[] partList = group.Parts; |
634 | |||
635 | lock (group.Children) | ||
636 | partList = new List<SceneObjectPart>(group.Children.Values); | ||
637 | 634 | ||
638 | group.SetGroup(m_part.GroupID, null); | 635 | group.SetGroup(m_part.GroupID, null); |
639 | 636 | ||