diff options
author | Dan Lake | 2012-01-19 02:53:21 -0800 |
---|---|---|
committer | Dan Lake | 2012-01-19 03:01:37 -0800 |
commit | 2c6272d11a916953bee28ed4b36d839e8c8dd4a2 (patch) | |
tree | 364794a523b077f5c1b57815a435b3a8a96528ff /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Fixed bugs in earlier commit on custom user parameters in Regions.ini (diff) | |
download | opensim-SC_OLD-2c6272d11a916953bee28ed4b36d839e8c8dd4a2.zip opensim-SC_OLD-2c6272d11a916953bee28ed4b36d839e8c8dd4a2.tar.gz opensim-SC_OLD-2c6272d11a916953bee28ed4b36d839e8c8dd4a2.tar.bz2 opensim-SC_OLD-2c6272d11a916953bee28ed4b36d839e8c8dd4a2.tar.xz |
Add a version of GetGroupByPrim to Scene which accepts UUID instead of localID
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 027ec96..3d8c714 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4294,6 +4294,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
4294 | public SceneObjectGroup GetGroupByPrim(uint localID) | 4294 | public SceneObjectGroup GetGroupByPrim(uint localID) |
4295 | { | 4295 | { |
4296 | return m_sceneGraph.GetGroupByPrim(localID); | 4296 | return m_sceneGraph.GetGroupByPrim(localID); |
4297 | } | ||
4298 | |||
4299 | /// <summary> | ||
4300 | /// Get a scene object group that contains the prim with the given uuid | ||
4301 | /// </summary> | ||
4302 | /// <param name="fullID"></param> | ||
4303 | /// <returns>null if no scene object group containing that prim is found</returns> | ||
4304 | public SceneObjectGroup GetGroupByPrim(UUID fullID) | ||
4305 | { | ||
4306 | return m_sceneGraph.GetGroupByPrim(fullID); | ||
4297 | } | 4307 | } |
4298 | 4308 | ||
4299 | public override bool TryGetScenePresence(UUID agentID, out ScenePresence sp) | 4309 | public override bool TryGetScenePresence(UUID agentID, out ScenePresence sp) |