From 23c4a409b754e708cc36cd13108060e9569fb08d Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Sat, 12 Jul 2008 21:43:35 +0000
Subject: minor: method documentation
---
OpenSim/Region/Environment/Scenes/InnerScene.cs | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
(limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index d553f4b..6a2b2d9 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -747,6 +747,11 @@ namespace OpenSim.Region.Environment.Scenes
return sp;
}
+ ///
+ /// Get a scene object group that contains the prim with the given local id
+ ///
+ ///
+ /// null if no scene object group containing that prim is found
private SceneObjectGroup GetGroupByPrim(uint localID)
{
List EntityList = GetEntities();
@@ -762,6 +767,11 @@ namespace OpenSim.Region.Environment.Scenes
return null;
}
+ ///
+ /// Get a scene object group that contains the prim with the given uuid
+ ///
+ ///
+ /// null if no scene object group containing that prim is found
private SceneObjectGroup GetGroupByPrim(LLUUID fullID)
{
List EntityList = GetEntities();
@@ -802,15 +812,26 @@ namespace OpenSim.Region.Environment.Scenes
return returnResult;
}
+ ///
+ /// Get a part contained in this scene.
+ ///
+ ///
+ /// null if the part was not found
protected internal SceneObjectPart GetSceneObjectPart(uint localID)
{
SceneObjectGroup group = GetGroupByPrim(localID);
+
if (group != null)
return group.GetChildPart(localID);
else
return null;
}
+ ///
+ /// Get a part contained in this scene.
+ ///
+ ///
+ /// null if the part was not found
protected internal SceneObjectPart GetSceneObjectPart(LLUUID fullID)
{
SceneObjectGroup group = GetGroupByPrim(fullID);
--
cgit v1.1