aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-06 00:53:14 +0100
committerJustin Clark-Casey (justincc)2014-08-06 00:53:14 +0100
commit78ccadb27ec48e4d02c07d37bc45c5e0b23c47a7 (patch)
treead3c6cc1f41dff25d0b0f572d686c59e9898fd98 /OpenSim/Region/Framework
parentrefactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance fo... (diff)
downloadopensim-SC_OLD-78ccadb27ec48e4d02c07d37bc45c5e0b23c47a7.zip
opensim-SC_OLD-78ccadb27ec48e4d02c07d37bc45c5e0b23c47a7.tar.gz
opensim-SC_OLD-78ccadb27ec48e4d02c07d37bc45c5e0b23c47a7.tar.bz2
opensim-SC_OLD-78ccadb27ec48e4d02c07d37bc45c5e0b23c47a7.tar.xz
Add RootPositionUpdateTolerance, RootRotationUpdateTolerance, and RootVelocityUpdateTolerance parameters to [InterestManagement] in OpenSimDefaults.ini
These govern when AgentUpdates are sent to observers on position, rotation and velocity changes to an avatar (including the avatar themselves). Higher values reduce AgentUpdate traffic but at a certain level will degrade smoothness of avatar and perceived avatar movement.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index da99d4f..8268235 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1035,6 +1035,13 @@ namespace OpenSim.Region.Framework.Scenes
1035 m_rootReprioritizationDistance = interestConfig.GetDouble("RootReprioritizationDistance", 10.0); 1035 m_rootReprioritizationDistance = interestConfig.GetDouble("RootReprioritizationDistance", 10.0);
1036 ChildReprioritizationDistance 1036 ChildReprioritizationDistance
1037 = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); 1037 = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance);
1038
1039 RootPositionUpdateTolerance
1040 = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance);
1041 RootRotationUpdateTolerance
1042 = interestConfig.GetFloat("RootRotationUpdateTolerance", RootRotationUpdateTolerance);
1043 RootVelocityUpdateTolerance
1044 = interestConfig.GetFloat("RootVelocityUpdateTolerance", RootVelocityUpdateTolerance);
1038 } 1045 }
1039 1046
1040 m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", m_priorityScheme); 1047 m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", m_priorityScheme);