diff options
author | Brian McBee | 2007-11-29 02:30:11 +0000 |
---|---|---|
committer | Brian McBee | 2007-11-29 02:30:11 +0000 |
commit | b0c5693c02cd863106b87b1be1a3b97bf54c7afb (patch) | |
tree | d0ffefea8353881f41afce3f19762cf6c5c6fd60 /OpenSim/Region/Environment | |
parent | * Fixed about 7 issues with restarting sims and resolved interRegion comms is... (diff) | |
download | opensim-SC-b0c5693c02cd863106b87b1be1a3b97bf54c7afb.zip opensim-SC-b0c5693c02cd863106b87b1be1a3b97bf54c7afb.tar.gz opensim-SC-b0c5693c02cd863106b87b1be1a3b97bf54c7afb.tar.bz2 opensim-SC-b0c5693c02cd863106b87b1be1a3b97bf54c7afb.tar.xz |
Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index aad78d5..c531702 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -294,15 +294,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
294 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) | 294 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) |
295 | { | 295 | { |
296 | List<MapBlockData> mapBlocks; | 296 | List<MapBlockData> mapBlocks; |
297 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-2, minY-2, minX+2, minY+2); | 297 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-4, minY-4, minX+4, minY+4); |
298 | remoteClient.SendMapBlock(mapBlocks); | ||
299 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 2, minY +3, minX +5, minY +5); | ||
300 | remoteClient.SendMapBlock(mapBlocks); | ||
301 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX +3, minY -5, minX + 5, minY + 2); | ||
302 | remoteClient.SendMapBlock(mapBlocks); | ||
303 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX -5, minY - 5, minX + 2, minY -3); | ||
304 | remoteClient.SendMapBlock(mapBlocks); | ||
305 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 5, minY - 2, minX -3, minY + 5); | ||
306 | remoteClient.SendMapBlock(mapBlocks); | 298 | remoteClient.SendMapBlock(mapBlocks); |
307 | } | 299 | } |
308 | 300 | ||