mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
make sure MaxRegionsViewDistance is lower than MaxDrawDistance
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user