Some private changes to the prioritizer: 30m steps instead of 10 and disable

the broken frontback math. Much better user experience.
avinationmerge
Melanie 2011-05-03 16:58:39 +02:00
parent aa73f99de6
commit 61263e2ce3
1 changed files with 2 additions and 2 deletions

View File

@ -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++;
}