diff options
author | Dalien Talbot | 2007-11-18 07:40:30 +0000 |
---|---|---|
committer | Dalien Talbot | 2007-11-18 07:40:30 +0000 |
commit | 0d8a2cccfd54954662153e60791c739b3a096932 (patch) | |
tree | d3facff644153d6d70d4913904abfa982ae9ff73 /OpenSim/Region/Environment/Scenes | |
parent | Second try at having a bandaid for the multiple logins crash (diff) | |
download | opensim-SC-0d8a2cccfd54954662153e60791c739b3a096932.zip opensim-SC-0d8a2cccfd54954662153e60791c739b3a096932.tar.gz opensim-SC-0d8a2cccfd54954662153e60791c739b3a096932.tar.bz2 opensim-SC-0d8a2cccfd54954662153e60791c739b3a096932.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
937 | /// <param name="maxY"></param> | 937 | /// <param name="maxY"></param> |
938 | public void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) | 938 | public void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) |
939 | { | 939 | { |
940 | m_sceneGridService.RequestMapBlocks(remoteClient, minX, minY, maxX, maxX); | 940 | if(!m_scenePresences[remoteClient.AgentId].IsChildAgent) |
941 | { | ||
942 | m_sceneGridService.RequestMapBlocks(remoteClient, minX, minY, maxX, maxX); | ||
943 | } | ||
941 | } | 944 | } |
942 | 945 | ||
943 | /// <summary> | 946 | /// <summary> |