diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 7512bd08e7..f2ae5dc8e2 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -4548,6 +4548,18 @@ namespace OpenSim.Region.Framework.Scenes return m_sceneGraph.GetSceneObjectGroup(name); } + /// + /// Attempt to get the SOG via its UUID + /// + /// + /// + /// + public bool TryGetSceneObjectGroup(UUID fullID, out SceneObjectGroup sog) + { + sog = GetSceneObjectGroup(fullID); + return sog != null; + } + /// /// Get a prim by name from the scene (will return the first /// found, if there are more than one prim with the same name)