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).
bullet-2.82
Robert Adams 2014-07-20 10:56:52 -07:00
parent aa8b44c001
commit b81187db5a
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain
private String m_InitialTerrain = "pinhead-island"; private String m_InitialTerrain = "pinhead-island";
// If true, send terrain patch updates to clients based on their view distance // 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. // 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 // A patch is set to 'true' meaning it should be sent to the client. Once the

View File

@ -1770,7 +1770,7 @@
; If 'true' each avatar is only sent terrain patches within their view distance ; If 'true' each avatar is only sent terrain patches within their view distance
; This also changes the region terrain loading from 'lawn mower' to ordered around ; This also changes the region terrain loading from 'lawn mower' to ordered around
; the avatar outward. ; the avatar outward.
SendTerrainUpdatesByViewDistance = False SendTerrainUpdatesByViewDistance = True
;; ;;
;; If you are using a simian grid frontend you can enable ;; If you are using a simian grid frontend you can enable