diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
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> |