diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 10 |
1 files changed, 10 insertions, 0 deletions
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 | |||
127 | set { m_isSelected = value; } | 127 | set { m_isSelected = value; } |
128 | } | 128 | } |
129 | 129 | ||
130 | // The UUID for the Region this Object is in. | ||
131 | public LLUUID RegionUUID | ||
132 | { | ||
133 | get | ||
134 | { | ||
135 | if (m_scene != null) | ||
136 | { return m_scene.RegionInfo.SimUUID; } | ||
137 | return LLUUID.Zero; | ||
138 | } | ||
139 | } | ||
130 | #endregion | 140 | #endregion |
131 | 141 | ||
132 | #region Constructors | 142 | #region Constructors |