From b81187db5ad098ec08ee195d7600c261a4671ab2 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Sun, 20 Jul 2014 10:56:52 -0700 Subject: Set "[Terrain]SendTerrainUpdatesByViewDistance=true" by default. This, by default, enables terrain patches being sent to each avatar from the avatar away (rather than the old outside-in pattern), only sending terrain patches within the avatars view distance (making view loading quicker), and sending multiple terrain patches per protocol packet (making terrain loading and editing quicker). --- OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 51016c2..a0f9129 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs @@ -100,7 +100,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain private String m_InitialTerrain = "pinhead-island"; // If true, send terrain patch updates to clients based on their view distance - private bool m_sendTerrainUpdatesByViewDistance = false; + private bool m_sendTerrainUpdatesByViewDistance = true; // Class to keep the per client collection of terrain patches that must be sent. // A patch is set to 'true' meaning it should be sent to the client. Once the -- cgit v1.1