mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user