diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 84b7365..e08fa77 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -601,7 +601,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
601 | rootPart.Name = item.Name; | 601 | rootPart.Name = item.Name; |
602 | rootPart.Description = item.Description; | 602 | rootPart.Description = item.Description; |
603 | 603 | ||
604 | List<SceneObjectPart> partList = new List<SceneObjectPart>(group.Children.Values); | 604 | List<SceneObjectPart> partList = null; |
605 | |||
606 | lock (group.Children) | ||
607 | partList = new List<SceneObjectPart>(group.Children.Values); | ||
605 | 608 | ||
606 | group.SetGroup(m_part.GroupID, null); | 609 | group.SetGroup(m_part.GroupID, null); |
607 | 610 | ||