MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it.
parent
232613638f
commit
959084f885
|
@ -201,7 +201,15 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY)
|
||||
{
|
||||
List<MapBlockData> mapBlocks;
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX, minY, maxX, maxY);
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-2, minY-2, minX+2, minY+2);
|
||||
remoteClient.SendMapBlock(mapBlocks);
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 2, minY +3, minX +5, minY +5);
|
||||
remoteClient.SendMapBlock(mapBlocks);
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX +3, minY -5, minX + 5, minY + 2);
|
||||
remoteClient.SendMapBlock(mapBlocks);
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX -5, minY - 5, minX + 2, minY -3);
|
||||
remoteClient.SendMapBlock(mapBlocks);
|
||||
mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 5, minY - 2, minX -3, minY + 5);
|
||||
remoteClient.SendMapBlock(mapBlocks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue