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;
|
||||
|
||||
|
||||
// HACK
|
||||
return GetPriorityByBestAvatarResponsiveness(client, entity);
|
||||
|
||||
|
||||
switch (m_scene.UpdatePrioritizationScheme)
|
||||
{
|
||||
/*
|
||||
case UpdatePrioritizationSchemes.Time:
|
||||
priority = GetPriorityByTime(client, entity);
|
||||
break;
|
||||
|
@ -111,11 +107,11 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
case UpdatePrioritizationSchemes.FrontBack:
|
||||
priority = GetPriorityByFrontBack(client, entity);
|
||||
break;
|
||||
*/
|
||||
case UpdatePrioritizationSchemes.BestAvatarResponsiveness:
|
||||
default:
|
||||
priority = GetPriorityByBestAvatarResponsiveness(client, entity);
|
||||
break;
|
||||
default:
|
||||
throw new InvalidOperationException("UpdatePrioritizationScheme not defined.");
|
||||
}
|
||||
|
||||
return priority;
|
||||
|
|
Loading…
Reference in New Issue