diff options
author | UbitUmarov | 2016-01-26 20:55:00 +0000 |
---|---|---|
committer | UbitUmarov | 2016-01-26 20:55:00 +0000 |
commit | 668ff1e12ca4096f82fab919ced7e04b03ba08f2 (patch) | |
tree | f398420fb849c4eaefe1cc0985a93bfafaa86bb0 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | update OpenSimDefaults.ini (diff) | |
download | opensim-SC_OLD-668ff1e12ca4096f82fab919ced7e04b03ba08f2.zip opensim-SC_OLD-668ff1e12ca4096f82fab919ced7e04b03ba08f2.tar.gz opensim-SC_OLD-668ff1e12ca4096f82fab919ced7e04b03ba08f2.tar.bz2 opensim-SC_OLD-668ff1e12ca4096f82fab919ced7e04b03ba08f2.tar.xz |
make sure MaxRegionsViewDistance is lower than MaxDrawDistance
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index acffd4a..ec74297 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -985,6 +985,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
985 | if (m_defaultDrawDistance > m_maxDrawDistance) | 985 | if (m_defaultDrawDistance > m_maxDrawDistance) |
986 | m_defaultDrawDistance = m_maxDrawDistance; | 986 | m_defaultDrawDistance = m_maxDrawDistance; |
987 | 987 | ||
988 | if (m_maxRegionViewDistance > m_maxDrawDistance) | ||
989 | m_maxRegionViewDistance = m_maxDrawDistance; | ||
990 | |||
988 | UseBackup = startupConfig.GetBoolean("UseSceneBackup", UseBackup); | 991 | UseBackup = startupConfig.GetBoolean("UseSceneBackup", UseBackup); |
989 | if (!UseBackup) | 992 | if (!UseBackup) |
990 | m_log.InfoFormat("[SCENE]: Backup has been disabled for {0}", RegionInfo.RegionName); | 993 | m_log.InfoFormat("[SCENE]: Backup has been disabled for {0}", RegionInfo.RegionName); |