aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2011-05-03 16:58:39 +0200
committerMelanie2011-05-03 16:58:39 +0200
commit61263e2ce3534b0356af9b608c84bcd96015aa34 (patch)
tree7001219b19a988e65f1ee3846959847e19d37b90 /OpenSim
parentRevert the CM prioritizer to the core version (diff)
downloadopensim-SC-61263e2ce3534b0356af9b608c84bcd96015aa34.zip
opensim-SC-61263e2ce3534b0356af9b608c84bcd96015aa34.tar.gz
opensim-SC-61263e2ce3534b0356af9b608c84bcd96015aa34.tar.bz2
opensim-SC-61263e2ce3534b0356af9b608c84bcd96015aa34.tar.xz
Some private changes to the prioritizer: 30m steps instead of 10 and disable
the broken frontback math. Much better user experience.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Prioritizer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs
index 4595a29..657df15 100644
--- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs
+++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs
@@ -158,7 +158,7 @@ namespace OpenSim.Region.Framework.Scenes
158 158
159 private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity) 159 private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity)
160 { 160 {
161 uint pqueue = ComputeDistancePriority(client,entity,true); 161 uint pqueue = ComputeDistancePriority(client,entity,false);
162 162
163 ScenePresence presence = m_scene.GetScenePresence(client.AgentId); 163 ScenePresence presence = m_scene.GetScenePresence(client.AgentId);
164 if (presence != null) 164 if (presence != null)
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Framework.Scenes
228 228
229 for (int i = 0; i < queues - 1; i++) 229 for (int i = 0; i < queues - 1; i++)
230 { 230 {
231 if (distance < 10 * Math.Pow(2.0,i)) 231 if (distance < 30 * Math.Pow(2.0,i))
232 break; 232 break;
233 pqueue++; 233 pqueue++;
234 } 234 }