aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 3c5630e..f2a0c32 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -290,9 +290,10 @@ namespace OpenSim.Region.Framework.Scenes
290 public int ChildTerseUpdatePeriod { get; set; } 290 public int ChildTerseUpdatePeriod { get; set; }
291 291
292 protected float m_defaultDrawDistance = 255f; 292 protected float m_defaultDrawDistance = 255f;
293 protected float m_defaultCullingDrawDistance = 16f;
293 public float DefaultDrawDistance 294 public float DefaultDrawDistance
294 { 295 {
295 get { return m_defaultDrawDistance; } 296 get { return ObjectsCullingByDistance?m_defaultCullingDrawDistance:m_defaultDrawDistance; }
296 } 297 }
297 298
298 protected float m_maxDrawDistance = 512.0f; 299 protected float m_maxDrawDistance = 512.0f;