First pass at making the V2 map work. Standalones only for now. There are some issues with the zoom level -- TBD.

This commit is contained in:
Diva Canto
2011-06-12 15:37:42 -07:00
parent 06e254c392
commit fd57c91b4a
13 changed files with 1021 additions and 10 deletions

View File

@@ -849,10 +849,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
{
List<MapBlockData> mapBlocks = new List<MapBlockData>();
List<GridRegion> regions = m_scene.GridService.GetRegionRange(m_scene.RegionInfo.ScopeID,
(minX - 4) * (int)Constants.RegionSize,
(maxX + 4) * (int)Constants.RegionSize,
(minY - 4) * (int)Constants.RegionSize,
(maxY + 4) * (int)Constants.RegionSize);
(minX - 8) * (int)Constants.RegionSize,
(maxX + 8) * (int)Constants.RegionSize,
(minY - 8) * (int)Constants.RegionSize,
(maxY + 8) * (int)Constants.RegionSize);
foreach (GridRegion r in regions)
{
MapBlockData block = new MapBlockData();