aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
index ae44acb..18ce34d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
@@ -201,7 +201,15 @@ namespace OpenSim.Region.Environment.Scenes
201 public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) 201 public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY)
202 { 202 {
203 List<MapBlockData> mapBlocks; 203 List<MapBlockData> mapBlocks;
204 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX, minY, maxX, maxY); 204 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-2, minY-2, minX+2, minY+2);
205 remoteClient.SendMapBlock(mapBlocks);
206 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 2, minY +3, minX +5, minY +5);
207 remoteClient.SendMapBlock(mapBlocks);
208 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX +3, minY -5, minX + 5, minY + 2);
209 remoteClient.SendMapBlock(mapBlocks);
210 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX -5, minY - 5, minX + 2, minY -3);
211 remoteClient.SendMapBlock(mapBlocks);
212 mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 5, minY - 2, minX -3, minY + 5);
205 remoteClient.SendMapBlock(mapBlocks); 213 remoteClient.SendMapBlock(mapBlocks);
206 } 214 }
207 215