diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index ecf17532af..676c000462 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -213,7 +213,14 @@ namespace OpenSim.Region.Framework.Scenes protected float m_defaultDrawDistance = 255.0f; public float DefaultDrawDistance { - get { return m_defaultDrawDistance; } + // get { return m_defaultDrawDistance; } + get { + if (RegionInfo != null) + { + m_defaultDrawDistance = Math.Max(RegionInfo.RegionSizeX, RegionInfo.RegionSizeY); + } + return m_defaultDrawDistance; + } } private List m_AllowedViewers = new List();