aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSignpostMarv2012-09-06 10:40:37 +0100
committerBlueWall2012-09-06 06:32:46 -0400
commitd2e79e26d7ea99b222a9c432b3727c558cd39f6e (patch)
tree59156aa2ac9bb1c1789cf56da67b01bce41bd6cb /OpenSim
parentpasting in show uptime code (diff)
downloadopensim-SC_OLD-d2e79e26d7ea99b222a9c432b3727c558cd39f6e.zip
opensim-SC_OLD-d2e79e26d7ea99b222a9c432b3727c558cd39f6e.tar.gz
opensim-SC_OLD-d2e79e26d7ea99b222a9c432b3727c558cd39f6e.tar.bz2
opensim-SC_OLD-d2e79e26d7ea99b222a9c432b3727c558cd39f6e.tar.xz
adding utility method for getting SceneObjectPart from scene
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 2b4dea4..1771bf9 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4613,6 +4613,18 @@ namespace OpenSim.Region.Framework.Scenes
4613 } 4613 }
4614 4614
4615 /// <summary> 4615 /// <summary>
4616 /// Attempt to get a prim via its UUID
4617 /// </summary>
4618 /// <param name="fullID"></param>
4619 /// <param name="sop"></param>
4620 /// <returns></returns>
4621 public bool TryGetSceneObjectPart(UUID fullID, out SceneObjectPart sop)
4622 {
4623 sop = GetSceneObjectPart(fullID);
4624 return sop != null;
4625 }
4626
4627 /// <summary>
4616 /// Get a scene object group that contains the prim with the given local id 4628 /// Get a scene object group that contains the prim with the given local id
4617 /// </summary> 4629 /// </summary>
4618 /// <param name="localID"></param> 4630 /// <param name="localID"></param>