diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index 9c6b884..f50fbfc 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -51,6 +51,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
51 | #endregion | 51 | #endregion |
52 | 52 | ||
53 | #region Fields | 53 | #region Fields |
54 | |||
55 | public string Name { get { return RegionInfo.RegionName; } } | ||
54 | 56 | ||
55 | public IConfigSource Config | 57 | public IConfigSource Config |
56 | { | 58 | { |
@@ -146,6 +148,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
146 | 148 | ||
147 | #endregion | 149 | #endregion |
148 | 150 | ||
151 | public SceneBase(RegionInfo regInfo) | ||
152 | { | ||
153 | RegionInfo = regInfo; | ||
154 | } | ||
155 | |||
149 | #region Update Methods | 156 | #region Update Methods |
150 | 157 | ||
151 | /// <summary> | 158 | /// <summary> |
@@ -209,10 +216,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
209 | /// | 216 | /// |
210 | /// </summary> | 217 | /// </summary> |
211 | /// <returns></returns> | 218 | /// <returns></returns> |
212 | public virtual RegionInfo RegionInfo | 219 | public virtual RegionInfo RegionInfo { get; private set; } |
213 | { | ||
214 | get { return m_regInfo; } | ||
215 | } | ||
216 | 220 | ||
217 | #region admin stuff | 221 | #region admin stuff |
218 | 222 | ||