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