diff options
author | Robert Adams | 2014-07-20 10:56:52 -0700 |
---|---|---|
committer | Robert Adams | 2014-07-20 10:56:52 -0700 |
commit | b81187db5ad098ec08ee195d7600c261a4671ab2 (patch) | |
tree | 251ca08905bf7610a981936e867d149d075e5c5c | |
parent | Add code to GridService to check for overlapping of varregions (diff) | |
download | opensim-SC_OLD-b81187db5ad098ec08ee195d7600c261a4671ab2.zip opensim-SC_OLD-b81187db5ad098ec08ee195d7600c261a4671ab2.tar.gz opensim-SC_OLD-b81187db5ad098ec08ee195d7600c261a4671ab2.tar.bz2 opensim-SC_OLD-b81187db5ad098ec08ee195d7600c261a4671ab2.tar.xz |
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).
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 2 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 2 |
2 files changed, 2 insertions, 2 deletions
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 | |||
100 | private String m_InitialTerrain = "pinhead-island"; | 100 | private String m_InitialTerrain = "pinhead-island"; |
101 | 101 | ||
102 | // If true, send terrain patch updates to clients based on their view distance | 102 | // If true, send terrain patch updates to clients based on their view distance |
103 | private bool m_sendTerrainUpdatesByViewDistance = false; | 103 | private bool m_sendTerrainUpdatesByViewDistance = true; |
104 | 104 | ||
105 | // Class to keep the per client collection of terrain patches that must be sent. | 105 | // Class to keep the per client collection of terrain patches that must be sent. |
106 | // A patch is set to 'true' meaning it should be sent to the client. Once the | 106 | // A patch is set to 'true' meaning it should be sent to the client. Once the |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 7ccc5fc..3f0be2e 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1770,7 +1770,7 @@ | |||
1770 | ; If 'true' each avatar is only sent terrain patches within their view distance | 1770 | ; If 'true' each avatar is only sent terrain patches within their view distance |
1771 | ; This also changes the region terrain loading from 'lawn mower' to ordered around | 1771 | ; This also changes the region terrain loading from 'lawn mower' to ordered around |
1772 | ; the avatar outward. | 1772 | ; the avatar outward. |
1773 | SendTerrainUpdatesByViewDistance = False | 1773 | SendTerrainUpdatesByViewDistance = True |
1774 | 1774 | ||
1775 | ;; | 1775 | ;; |
1776 | ;; If you are using a simian grid frontend you can enable | 1776 | ;; If you are using a simian grid frontend you can enable |