a more clean enforcement of BestAvatarResponsiveness (others aren't good at moment
parent
e095f51b05
commit
48f6010a1c
|
@ -92,13 +92,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
uint priority;
|
uint priority;
|
||||||
|
|
||||||
|
|
||||||
// HACK
|
|
||||||
return GetPriorityByBestAvatarResponsiveness(client, entity);
|
|
||||||
|
|
||||||
|
|
||||||
switch (m_scene.UpdatePrioritizationScheme)
|
switch (m_scene.UpdatePrioritizationScheme)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
case UpdatePrioritizationSchemes.Time:
|
case UpdatePrioritizationSchemes.Time:
|
||||||
priority = GetPriorityByTime(client, entity);
|
priority = GetPriorityByTime(client, entity);
|
||||||
break;
|
break;
|
||||||
|
@ -111,11 +107,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
case UpdatePrioritizationSchemes.FrontBack:
|
case UpdatePrioritizationSchemes.FrontBack:
|
||||||
priority = GetPriorityByFrontBack(client, entity);
|
priority = GetPriorityByFrontBack(client, entity);
|
||||||
break;
|
break;
|
||||||
|
*/
|
||||||
case UpdatePrioritizationSchemes.BestAvatarResponsiveness:
|
case UpdatePrioritizationSchemes.BestAvatarResponsiveness:
|
||||||
|
default:
|
||||||
priority = GetPriorityByBestAvatarResponsiveness(client, entity);
|
priority = GetPriorityByBestAvatarResponsiveness(client, entity);
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
throw new InvalidOperationException("UpdatePrioritizationScheme not defined.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return priority;
|
return priority;
|
||||||
|
|
Loading…
Reference in New Issue