diff options
author | UbitUmarov | 2016-01-26 20:39:37 +0000 |
---|---|---|
committer | UbitUmarov | 2016-01-26 20:39:37 +0000 |
commit | 109723dc2df4c6f7fc0309911eb2d99988713431 (patch) | |
tree | 7d0ca9d4a5df67085f49387fe45fe24cc0cf528f /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | BulletSim: increase default value of AvatarStopZeroThreshold as this reduces (diff) | |
download | opensim-SC_OLD-109723dc2df4c6f7fc0309911eb2d99988713431.zip opensim-SC_OLD-109723dc2df4c6f7fc0309911eb2d99988713431.tar.gz opensim-SC_OLD-109723dc2df4c6f7fc0309911eb2d99988713431.tar.bz2 opensim-SC_OLD-109723dc2df4c6f7fc0309911eb2d99988713431.tar.xz |
add option MaxRegionsViewDistance to control the maximum range to tell viewer to connect to Neighbour regions, since that is diferent from view range
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 5799cd4..acffd4a 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -296,6 +296,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
296 | get { return m_maxDrawDistance; } | 296 | get { return m_maxDrawDistance; } |
297 | } | 297 | } |
298 | 298 | ||
299 | protected float m_maxRegionViewDistance = 255f; | ||
300 | public float MaxRegionViewDistance | ||
301 | { | ||
302 | get { return m_maxRegionViewDistance; } | ||
303 | } | ||
304 | |||
299 | private List<string> m_AllowedViewers = new List<string>(); | 305 | private List<string> m_AllowedViewers = new List<string>(); |
300 | private List<string> m_BannedViewers = new List<string>(); | 306 | private List<string> m_BannedViewers = new List<string>(); |
301 | 307 | ||
@@ -972,6 +978,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
972 | 978 | ||
973 | m_defaultDrawDistance = startupConfig.GetFloat("DefaultDrawDistance", m_defaultDrawDistance); | 979 | m_defaultDrawDistance = startupConfig.GetFloat("DefaultDrawDistance", m_defaultDrawDistance); |
974 | m_maxDrawDistance = startupConfig.GetFloat("MaxDrawDistance", m_maxDrawDistance); | 980 | m_maxDrawDistance = startupConfig.GetFloat("MaxDrawDistance", m_maxDrawDistance); |
981 | m_maxRegionViewDistance = startupConfig.GetFloat("MaxRegionsViewDistance", m_maxRegionViewDistance); | ||
975 | 982 | ||
976 | LegacySitOffsets = startupConfig.GetBoolean("LegacyOpenSimSitOffsets", LegacySitOffsets); | 983 | LegacySitOffsets = startupConfig.GetBoolean("LegacyOpenSimSitOffsets", LegacySitOffsets); |
977 | 984 | ||