From 18d1031a8868e63e444b2442e54b0d1f35dd1329 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 20 Aug 2007 16:07:37 +0000 Subject: Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 9042c04..33f41e9 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -127,6 +127,16 @@ namespace OpenSim.Region.Environment.Scenes set { m_isSelected = value; } } + // The UUID for the Region this Object is in. + public LLUUID RegionUUID + { + get + { + if (m_scene != null) + { return m_scene.RegionInfo.SimUUID; } + return LLUUID.Zero; + } + } #endregion #region Constructors -- cgit v1.1