Some private changes to the prioritizer: 30m steps instead of 10 and disable
the broken frontback math. Much better user experience.avinationmerge
parent
aa73f99de6
commit
61263e2ce3
|
@ -158,7 +158,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity)
|
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);
|
ScenePresence presence = m_scene.GetScenePresence(client.AgentId);
|
||||||
if (presence != null)
|
if (presence != null)
|
||||||
|
@ -228,7 +228,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
for (int i = 0; i < queues - 1; i++)
|
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;
|
break;
|
||||||
pqueue++;
|
pqueue++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue