aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-02-24 02:37:21 +0000
committerMelanie2011-02-24 02:37:21 +0000
commit9be1d2aef1dff06a7bfdb8da38dd6317bf5b0bb7 (patch)
tree0cf76dba6e5b7255a3d3168c1eec228def3a205f /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
parentOn a Grid Handler exception, explicitly log the exception message and stack t... (diff)
downloadopensim-SC_OLD-9be1d2aef1dff06a7bfdb8da38dd6317bf5b0bb7.zip
opensim-SC_OLD-9be1d2aef1dff06a7bfdb8da38dd6317bf5b0bb7.tar.gz
opensim-SC_OLD-9be1d2aef1dff06a7bfdb8da38dd6317bf5b0bb7.tar.bz2
opensim-SC_OLD-9be1d2aef1dff06a7bfdb8da38dd6317bf5b0bb7.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 2815f29..2e116a2 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -83,6 +83,13 @@ namespace OpenSim.Region.Framework.Scenes
83 public bool m_useFlySlow; 83 public bool m_useFlySlow;
84 public bool m_usePreJump; 84 public bool m_usePreJump;
85 public bool m_seeIntoRegionFromNeighbor; 85 public bool m_seeIntoRegionFromNeighbor;
86
87 protected float m_defaultDrawDistance = 255.0f;
88 public float DefaultDrawDistance
89 {
90 get { return m_defaultDrawDistance; }
91 }
92
86 // TODO: need to figure out how allow client agents but deny 93 // TODO: need to figure out how allow client agents but deny
87 // root agents when ACL denies access to root agent 94 // root agents when ACL denies access to root agent
88 public bool m_strictAccessControl = true; 95 public bool m_strictAccessControl = true;
@@ -649,6 +656,8 @@ namespace OpenSim.Region.Framework.Scenes
649 // 656 //
650 IConfig startupConfig = m_config.Configs["Startup"]; 657 IConfig startupConfig = m_config.Configs["Startup"];
651 658
659 m_defaultDrawDistance = startupConfig.GetFloat("DefaultDrawDistance",m_defaultDrawDistance);
660
652 //Animation states 661 //Animation states
653 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false); 662 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false);
654 // TODO: Change default to true once the feature is supported 663 // TODO: Change default to true once the feature is supported