diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index bd9d580..c913ec2 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs | |||
@@ -91,14 +91,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
91 | return 0; | 91 | return 0; |
92 | 92 | ||
93 | uint priority; | 93 | uint priority; |
94 | |||
95 | |||
96 | // HACK | ||
97 | return GetPriorityByBestAvatarResponsiveness(client, entity); | ||
98 | |||
99 | 94 | ||
100 | switch (m_scene.UpdatePrioritizationScheme) | 95 | switch (m_scene.UpdatePrioritizationScheme) |
101 | { | 96 | { |
97 | /* | ||
102 | case UpdatePrioritizationSchemes.Time: | 98 | case UpdatePrioritizationSchemes.Time: |
103 | priority = GetPriorityByTime(client, entity); | 99 | priority = GetPriorityByTime(client, entity); |
104 | break; | 100 | break; |
@@ -111,11 +107,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
111 | case UpdatePrioritizationSchemes.FrontBack: | 107 | case UpdatePrioritizationSchemes.FrontBack: |
112 | priority = GetPriorityByFrontBack(client, entity); | 108 | priority = GetPriorityByFrontBack(client, entity); |
113 | break; | 109 | break; |
110 | */ | ||
114 | case UpdatePrioritizationSchemes.BestAvatarResponsiveness: | 111 | case UpdatePrioritizationSchemes.BestAvatarResponsiveness: |
112 | default: | ||
115 | priority = GetPriorityByBestAvatarResponsiveness(client, entity); | 113 | priority = GetPriorityByBestAvatarResponsiveness(client, entity); |
116 | break; | 114 | break; |
117 | default: | ||
118 | throw new InvalidOperationException("UpdatePrioritizationScheme not defined."); | ||
119 | } | 115 | } |
120 | 116 | ||
121 | return priority; | 117 | return priority; |