make sure MaxRegionsViewDistance is lower than MaxDrawDistance

LSLKeyTest
UbitUmarov 2016-01-26 20:55:00 +00:00
parent 8981cba137
commit 668ff1e12c
1 changed files with 3 additions and 0 deletions

View File

@ -985,6 +985,9 @@ namespace OpenSim.Region.Framework.Scenes
if (m_defaultDrawDistance > m_maxDrawDistance) if (m_defaultDrawDistance > m_maxDrawDistance)
m_defaultDrawDistance = m_maxDrawDistance; m_defaultDrawDistance = m_maxDrawDistance;
if (m_maxRegionViewDistance > m_maxDrawDistance)
m_maxRegionViewDistance = m_maxDrawDistance;
UseBackup = startupConfig.GetBoolean("UseSceneBackup", UseBackup); UseBackup = startupConfig.GetBoolean("UseSceneBackup", UseBackup);
if (!UseBackup) if (!UseBackup)
m_log.InfoFormat("[SCENE]: Backup has been disabled for {0}", RegionInfo.RegionName); m_log.InfoFormat("[SCENE]: Backup has been disabled for {0}", RegionInfo.RegionName);