diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1771bf9..a2d553d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4582,6 +4582,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
4582 | } | 4582 | } |
4583 | 4583 | ||
4584 | /// <summary> | 4584 | /// <summary> |
4585 | /// Attempt to get the SOG via its UUID | ||
4586 | /// </summary> | ||
4587 | /// <param name="fullID"></param> | ||
4588 | /// <param name="sog"></param> | ||
4589 | /// <returns></returns> | ||
4590 | public bool TryGetSceneObjectGroup(UUID fullID, out SceneObjectGroup sog) | ||
4591 | { | ||
4592 | sog = GetSceneObjectGroup(fullID); | ||
4593 | return sog != null; | ||
4594 | } | ||
4595 | |||
4596 | /// <summary> | ||
4585 | /// Get a prim by name from the scene (will return the first | 4597 | /// Get a prim by name from the scene (will return the first |
4586 | /// found, if there are more than one prim with the same name) | 4598 | /// found, if there are more than one prim with the same name) |
4587 | /// </summary> | 4599 | /// </summary> |