aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorMelanie2010-09-17 03:49:30 +0100
committerMelanie2010-09-17 03:49:30 +0100
commit7df438323576603344442e1350ed593e797ae3ae (patch)
tree2de03b8eaf5de93ba3305b0af8ae2616f9440d15 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentRevert "* Changed 11 calls for session info to the more optimized API method" (diff)
parentRevert "* Changed 11 calls for session info to the more optimized API method" (diff)
downloadopensim-SC_OLD-7df438323576603344442e1350ed593e797ae3ae.zip
opensim-SC_OLD-7df438323576603344442e1350ed593e797ae3ae.tar.gz
opensim-SC_OLD-7df438323576603344442e1350ed593e797ae3ae.tar.bz2
opensim-SC_OLD-7df438323576603344442e1350ed593e797ae3ae.tar.xz
Merge branch 'master' into careminster-presence-refactor
Integrate the next large patch. Don't use this version, it has a ghost avatar issue. Next push will fix it.
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