diff options
author | MW | 2007-08-20 16:07:37 +0000 |
---|---|---|
committer | MW | 2007-08-20 16:07:37 +0000 |
commit | 18d1031a8868e63e444b2442e54b0d1f35dd1329 (patch) | |
tree | 4b093d481e7c81816b363fd661ea93e946f37339 | |
parent | The regionUUID is now being passed to the datastore calls. (diff) | |
download | opensim-SC_OLD-18d1031a8868e63e444b2442e54b0d1f35dd1329.zip opensim-SC_OLD-18d1031a8868e63e444b2442e54b0d1f35dd1329.tar.gz opensim-SC_OLD-18d1031a8868e63e444b2442e54b0d1f35dd1329.tar.bz2 opensim-SC_OLD-18d1031a8868e63e444b2442e54b0d1f35dd1329.tar.xz |
Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.
-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 |