diff options
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Prioritizer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index cd6dc95..e4b0323 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs | |||
@@ -174,7 +174,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
174 | ScenePresence presence = m_scene.GetScenePresence(client.AgentId); | 174 | ScenePresence presence = m_scene.GetScenePresence(client.AgentId); |
175 | if (presence == null) | 175 | if (presence == null) |
176 | { | 176 | { |
177 | m_log.WarnFormat("[PRIORITIZER] attempt to use agent {0} not in the scene",client.AgentId); | 177 | // this shouldn't happen, it basically means that we are prioritizing |
178 | // updates to send to a client that doesn't have a presence in the scene | ||
179 | // seems like there's race condition here... | ||
180 | |||
181 | // m_log.WarnFormat("[PRIORITIZER] attempt to use agent {0} not in the scene",client.AgentId); | ||
178 | // throw new InvalidOperationException("Prioritization agent not defined"); | 182 | // throw new InvalidOperationException("Prioritization agent not defined"); |
179 | return Int32.MaxValue; | 183 | return Int32.MaxValue; |
180 | } | 184 | } |