diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 2762312..a43de29 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1034,6 +1034,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1034 | ChildReprioritizationDistance | 1034 | ChildReprioritizationDistance |
1035 | = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); | 1035 | = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); |
1036 | 1036 | ||
1037 | RootTerseUpdatePeriod = interestConfig.GetInt("RootTerseUpdatePeriod", RootTerseUpdatePeriod); | ||
1038 | ChildTerseUpdatePeriod = interestConfig.GetInt("ChildTerseUpdatePeriod", ChildTerseUpdatePeriod); | ||
1039 | |||
1037 | RootPositionUpdateTolerance | 1040 | RootPositionUpdateTolerance |
1038 | = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance); | 1041 | = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance); |
1039 | RootRotationUpdateTolerance | 1042 | RootRotationUpdateTolerance |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 069d238..401abf0 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1737,6 +1737,15 @@ | |||
1737 | ReprioritizationInterval = 2000.0 | 1737 | ReprioritizationInterval = 2000.0 |
1738 | RootReprioritizationDistance = 10.0 | 1738 | RootReprioritizationDistance = 10.0 |
1739 | ChildReprioritizationDistance = 20.0 | 1739 | ChildReprioritizationDistance = 20.0 |
1740 | |||
1741 | ; If n > 1, only every n UDP terse updates will be sent to observers of an avatar that are in the same region | ||
1742 | ; Updates will always be sent to the avatar that the update addresses and if av velocity is effectively zero (to prevent drift due to missing updates). | ||
1743 | ; n > 1 will reduce UDP traffic but will lead to laggier movement observed in other avatars. | ||
1744 | RootTerseUpdatePeriod = 0 | ||
1745 | |||
1746 | ; If n > 1, only every n UDP terse updates will be sent to observers of an avatar that are in another region | ||
1747 | ; n > 1 will reduce UDP traffic but may lead to laggier movement observed in other avatars, though values up to 4 may not generate a noticeable effect. | ||
1748 | ChildTerseUpdatePeriod = 0 | ||
1740 | 1749 | ||
1741 | ; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance | 1750 | ; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance |
1742 | RootPositionUpdateTolerance = 0.05 | 1751 | RootPositionUpdateTolerance = 0.05 |