aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-05-20 23:34:34 +0100
committerJustin Clark-Casey (justincc)2011-05-20 23:34:34 +0100
commit91a9f30b1613fba8c3ff31de5b9390b0e636ad65 (patch)
treeb48c64a1dbfd7771adf92b44eaa4eb657e1966ac /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentadd test for rezzing an object from a prim item (diff)
downloadopensim-SC_OLD-91a9f30b1613fba8c3ff31de5b9390b0e636ad65.zip
opensim-SC_OLD-91a9f30b1613fba8c3ff31de5b9390b0e636ad65.tar.gz
opensim-SC_OLD-91a9f30b1613fba8c3ff31de5b9390b0e636ad65.tar.bz2
opensim-SC_OLD-91a9f30b1613fba8c3ff31de5b9390b0e636ad65.tar.xz
implement Scene.GetSceneObjectGroup(UUID fullID) using existing index
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 14b587f..2d547f7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -976,6 +976,22 @@ namespace OpenSim.Region.Framework.Scenes
976 } 976 }
977 977
978 /// <summary> 978 /// <summary>
979 /// Get a group in the scene
980 /// </summary>
981 /// <param name="fullID">UUID of the group</param>
982 /// <returns>null if no such group was found</returns>
983 protected internal SceneObjectGroup GetSceneObjectGroup(UUID fullID)
984 {
985 lock (SceneObjectGroupsByFullID)
986 {
987 if (SceneObjectGroupsByFullID.ContainsKey(fullID))
988 return SceneObjectGroupsByFullID[fullID];
989 }
990
991 return null;
992 }
993
994 /// <summary>
979 /// Get a part contained in this scene. 995 /// Get a part contained in this scene.
980 /// </summary> 996 /// </summary>
981 /// <param name="localID"></param> 997 /// <param name="localID"></param>