From 96d5c8196a3c756639e9f57a7fb3d630d174d0c4 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Tue, 2 Feb 2010 15:45:41 +0000
Subject: minor: add reminder to lock SOG.Children before using it directly in
order to avoid threading issues
---
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index ec41ac7..8c56870 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -235,6 +235,9 @@ namespace OpenSim.Region.Framework.Scenes
set { m_rootPart.GroupID = value; }
}
+ ///
+ /// The parts of this scene object group. You must lock this property before using it.
+ ///
public Dictionary Children
{
get { return m_parts; }
@@ -2097,7 +2100,7 @@ namespace OpenSim.Region.Framework.Scenes
}
///
- /// Get a child part with a given UUID
+ /// Get a part with a given UUID
///
///
/// null if a child part with the primID was not found
@@ -2112,7 +2115,7 @@ namespace OpenSim.Region.Framework.Scenes
}
///
- /// Get a child part with a given local ID
+ /// Get a part with a given local ID
///
///
/// null if a child part with the local ID was not found
--
cgit v1.1