From 61263e2ce3534b0356af9b608c84bcd96015aa34 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 3 May 2011 16:58:39 +0200 Subject: Some private changes to the prioritizer: 30m steps instead of 10 and disable the broken frontback math. Much better user experience. --- OpenSim/Region/Framework/Scenes/Prioritizer.cs | 4 ++-- 1 file 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 private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity) { - uint pqueue = ComputeDistancePriority(client,entity,true); + uint pqueue = ComputeDistancePriority(client,entity,false); ScenePresence presence = m_scene.GetScenePresence(client.AgentId); if (presence != null) @@ -228,7 +228,7 @@ namespace OpenSim.Region.Framework.Scenes for (int i = 0; i < queues - 1; i++) { - if (distance < 10 * Math.Pow(2.0,i)) + if (distance < 30 * Math.Pow(2.0,i)) break; pqueue++; } -- cgit v1.1