aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index b205503..8aa17a1 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -780,10 +780,7 @@ namespace OpenSim.Region.Framework.Scenes
780 rootPart.Name = item.Name; 780 rootPart.Name = item.Name;
781 rootPart.Description = item.Description; 781 rootPart.Description = item.Description;
782 782
783 List<SceneObjectPart> partList = null; 783 SceneObjectPart[] partList = group.Parts;
784
785 lock (group.Children)
786 partList = new List<SceneObjectPart>(group.Children.Values);
787 784
788 group.SetGroup(m_part.GroupID, null); 785 group.SetGroup(m_part.GroupID, null);
789 786