aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 117f869..952d280 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -335,7 +335,16 @@ namespace OpenSim.Region.Framework.Scenes
335 public override UUID UUID 335 public override UUID UUID
336 { 336 {
337 get { return m_rootPart.UUID; } 337 get { return m_rootPart.UUID; }
338 set { m_rootPart.UUID = value; } 338 set
339 {
340 m_rootPart.UUID = value;
341
342 lock (m_parts)
343 {
344 m_parts.Remove(m_rootPart.UUID);
345 m_parts.Add(m_rootPart.UUID, m_rootPart);
346 }
347 }
339 } 348 }
340 349
341 public UUID OwnerID 350 public UUID OwnerID