aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorBrian McBee2007-11-26 16:40:08 +0000
committerBrian McBee2007-11-26 16:40:08 +0000
commit959084f8859bbf68cac9b245f59addafacc66a27 (patch)
treee5d139b42a006368a49d4da1b89fe417ee20f4a4 /OpenSim/Region
parentAttempt to handle MYSQL error fetching assets (diff)
downloadopensim-SC_OLD-959084f8859bbf68cac9b245f59addafacc66a27.zip
opensim-SC_OLD-959084f8859bbf68cac9b245f59addafacc66a27.tar.gz
opensim-SC_OLD-959084f8859bbf68cac9b245f59addafacc66a27.tar.bz2
opensim-SC_OLD-959084f8859bbf68cac9b245f59addafacc66a27.tar.xz
MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it.
Diffstat (limited to 'OpenSim/Region')
-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