diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Prioritizer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index 4595a29..657df15 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs | |||
@@ -158,7 +158,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
158 | 158 | ||
159 | private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity) | 159 | private uint GetPriorityByBestAvatarResponsiveness(IClientAPI client, ISceneEntity entity) |
160 | { | 160 | { |
161 | uint pqueue = ComputeDistancePriority(client,entity,true); | 161 | uint pqueue = ComputeDistancePriority(client,entity,false); |
162 | 162 | ||
163 | ScenePresence presence = m_scene.GetScenePresence(client.AgentId); | 163 | ScenePresence presence = m_scene.GetScenePresence(client.AgentId); |
164 | if (presence != null) | 164 | if (presence != null) |
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
228 | 228 | ||
229 | for (int i = 0; i < queues - 1; i++) | 229 | for (int i = 0; i < queues - 1; i++) |
230 | { | 230 | { |
231 | if (distance < 10 * Math.Pow(2.0,i)) | 231 | if (distance < 30 * Math.Pow(2.0,i)) |
232 | break; | 232 | break; |
233 | pqueue++; | 233 | pqueue++; |
234 | } | 234 | } |