From aa73f99de6b305b2425746950db8bd562a63b4be Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 3 May 2011 16:44:45 +0100 Subject: Revert the CM prioritizer to the core version --- OpenSim/Region/Framework/Scenes/Prioritizer.cs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Prioritizer.cs') diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index 0f35894..4595a29 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs @@ -158,8 +158,6 @@ namespace OpenSim.Region.Framework.Scenes private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity) { - if (entity == null) return 0; - uint pqueue = ComputeDistancePriority(client,entity,true); ScenePresence presence = m_scene.GetScenePresence(client.AgentId); @@ -190,12 +188,6 @@ namespace OpenSim.Region.Framework.Scenes private uint ComputeDistancePriority(IClientAPI client, ISceneEntity entity, bool useFrontBack) { - // If this is an update for our own avatar give it the highest priority - if (client.AgentId == entity.UUID) - return 0; - if (entity == null) - return 0; - // Get this agent's position ScenePresence presence = m_scene.GetScenePresence(client.AgentId); if (presence == null) -- cgit v1.1