aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-05-20 23:41:14 +0100
committerJustin Clark-Casey (justincc)2011-05-20 23:41:14 +0100
commit4b0fc4faef657cc819dfa360fb6a266532724455 (patch)
tree81cef0d3e3bd60e25043068c362fffd91bc9d577 /OpenSim/Region/Framework/Scenes/Scene.cs
parentimplement Scene.GetSceneObjectGroup(UUID fullID) using existing index (diff)
downloadopensim-SC-4b0fc4faef657cc819dfa360fb6a266532724455.zip
opensim-SC-4b0fc4faef657cc819dfa360fb6a266532724455.tar.gz
opensim-SC-4b0fc4faef657cc819dfa360fb6a266532724455.tar.bz2
opensim-SC-4b0fc4faef657cc819dfa360fb6a266532724455.tar.xz
implement Scene.GetSceneObjectGroup(string name) to match the equivalent GetSOP method
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs15
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index f718331..cfb3a5d 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4282,14 +4282,25 @@ namespace OpenSim.Region.Framework.Scenes
4282 /// Get a group via its UUID 4282 /// Get a group via its UUID
4283 /// </summary> 4283 /// </summary>
4284 /// <param name="fullID"></param> 4284 /// <param name="fullID"></param>
4285 /// <returns></returns> 4285 /// <returns>null if no group with that name exists</returns>
4286 public SceneObjectGroup GetSceneObjectGroup(UUID fullID) 4286 public SceneObjectGroup GetSceneObjectGroup(UUID fullID)
4287 { 4287 {
4288 return m_sceneGraph.GetSceneObjectGroup(fullID); 4288 return m_sceneGraph.GetSceneObjectGroup(fullID);
4289 } 4289 }
4290 4290
4291 /// <summary> 4291 /// <summary>
4292 /// Get a named prim contained in this scene (will return the first 4292 /// Get a group by name from the scene (will return the first
4293 /// found, if there are more than one prim with the same name)
4294 /// </summary>
4295 /// <param name="name"></param>
4296 /// <returns>null if no group with that name exists</returns>
4297 public SceneObjectGroup GetSceneObjectGroup(string name)
4298 {
4299 return m_sceneGraph.GetSceneObjectGroup(name);
4300 }
4301
4302 /// <summary>
4303 /// Get a prim by name from the scene (will return the first
4293 /// found, if there are more than one prim with the same name) 4304 /// found, if there are more than one prim with the same name)
4294 /// </summary> 4305 /// </summary>
4295 /// <param name="name"></param> 4306 /// <param name="name"></param>