diff options
author | dahlia | 2009-11-13 22:13:40 -0800 |
---|---|---|
committer | dahlia | 2009-11-13 22:13:40 -0800 |
commit | 2e24415077ab4febf61e684fec8202a3a3e83b77 (patch) | |
tree | 8f6c8045b31a32780fdb789e051a38fc53224ea9 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | expose SceneGraph.GetGroupByPrim(UUID) (diff) | |
download | opensim-SC-2e24415077ab4febf61e684fec8202a3a3e83b77.zip opensim-SC-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.gz opensim-SC-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.bz2 opensim-SC-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.xz |
undo previous changes
add a GetGroupByPrim() method to Scene.cs
delete a redundant method
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 4531e06..aeca7df 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4383,6 +4383,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
4383 | return m_sceneGraph.GetSceneObjectPart(fullID); | 4383 | return m_sceneGraph.GetSceneObjectPart(fullID); |
4384 | } | 4384 | } |
4385 | 4385 | ||
4386 | /// <summary> | ||
4387 | /// Get a scene object group that contains the prim with the given local id | ||
4388 | /// </summary> | ||
4389 | /// <param name="localID"></param> | ||
4390 | /// <returns>null if no scene object group containing that prim is found</returns> | ||
4391 | public SceneObjectGroup GetGroupByPrim(uint localID) | ||
4392 | { | ||
4393 | return m_sceneGraph.GetGroupByPrim(localID); | ||
4394 | } | ||
4395 | |||
4386 | public bool TryGetAvatar(UUID avatarId, out ScenePresence avatar) | 4396 | public bool TryGetAvatar(UUID avatarId, out ScenePresence avatar) |
4387 | { | 4397 | { |
4388 | return m_sceneGraph.TryGetAvatar(avatarId, out avatar); | 4398 | return m_sceneGraph.TryGetAvatar(avatarId, out avatar); |