diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index ecf1753..676c000 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -213,7 +213,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
213 | protected float m_defaultDrawDistance = 255.0f; | 213 | protected float m_defaultDrawDistance = 255.0f; |
214 | public float DefaultDrawDistance | 214 | public float DefaultDrawDistance |
215 | { | 215 | { |
216 | get { return m_defaultDrawDistance; } | 216 | // get { return m_defaultDrawDistance; } |
217 | get { | ||
218 | if (RegionInfo != null) | ||
219 | { | ||
220 | m_defaultDrawDistance = Math.Max(RegionInfo.RegionSizeX, RegionInfo.RegionSizeY); | ||
221 | } | ||
222 | return m_defaultDrawDistance; | ||
223 | } | ||
217 | } | 224 | } |
218 | 225 | ||
219 | private List<string> m_AllowedViewers = new List<string>(); | 226 | private List<string> m_AllowedViewers = new List<string>(); |