From 668ff1e12ca4096f82fab919ced7e04b03ba08f2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 26 Jan 2016 20:55:00 +0000 Subject: make sure MaxRegionsViewDistance is lower than MaxDrawDistance --- OpenSim/Region/Framework/Scenes/Scene.cs | 3 +++ 1 file changed, 3 insertions(+) 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 if (m_defaultDrawDistance > m_maxDrawDistance) m_defaultDrawDistance = m_maxDrawDistance; + if (m_maxRegionViewDistance > m_maxDrawDistance) + m_maxRegionViewDistance = m_maxDrawDistance; + UseBackup = startupConfig.GetBoolean("UseSceneBackup", UseBackup); if (!UseBackup) m_log.InfoFormat("[SCENE]: Backup has been disabled for {0}", RegionInfo.RegionName); -- cgit v1.1