From 0d8a2cccfd54954662153e60791c739b3a096932 Mon Sep 17 00:00:00 2001
From: Dalien Talbot
Date: Sun, 18 Nov 2007 07:40:30 +0000
Subject: Looks like we're requesting the mapblocks for every agent - including
childagents. The infrastructure is not robust enough to handle it at this
time - so ignore all the MapBlock requests for childagents.
---
OpenSim/Region/Environment/Scenes/Scene.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 2c765a3..b6de1fb 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -937,7 +937,10 @@ namespace OpenSim.Region.Environment.Scenes
///
public void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY)
{
- m_sceneGridService.RequestMapBlocks(remoteClient, minX, minY, maxX, maxX);
+ if(!m_scenePresences[remoteClient.AgentId].IsChildAgent)
+ {
+ m_sceneGridService.RequestMapBlocks(remoteClient, minX, minY, maxX, maxX);
+ }
}
///
--
cgit v1.1