diff options
author | Diva Canto | 2011-06-12 15:37:42 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-12 15:37:42 -0700 |
commit | fd57c91b4a10cf7ee1e94dc8fe4e81eb0d5bae3d (patch) | |
tree | 55907fbcea5962638275453301482190c4b989b0 /OpenSim/Region/CoreModules/World/WorldMap | |
parent | A few more cleanups on the way to close http://opensimulator.org/mantis/view.... (diff) | |
download | opensim-SC_OLD-fd57c91b4a10cf7ee1e94dc8fe4e81eb0d5bae3d.zip opensim-SC_OLD-fd57c91b4a10cf7ee1e94dc8fe4e81eb0d5bae3d.tar.gz opensim-SC_OLD-fd57c91b4a10cf7ee1e94dc8fe4e81eb0d5bae3d.tar.bz2 opensim-SC_OLD-fd57c91b4a10cf7ee1e94dc8fe4e81eb0d5bae3d.tar.xz |
First pass at making the V2 map work. Standalones only for now. There are some issues with the zoom level -- TBD.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 3553c9a..079b1c2 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -849,10 +849,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
849 | { | 849 | { |
850 | List<MapBlockData> mapBlocks = new List<MapBlockData>(); | 850 | List<MapBlockData> mapBlocks = new List<MapBlockData>(); |
851 | List<GridRegion> regions = m_scene.GridService.GetRegionRange(m_scene.RegionInfo.ScopeID, | 851 | List<GridRegion> regions = m_scene.GridService.GetRegionRange(m_scene.RegionInfo.ScopeID, |
852 | (minX - 4) * (int)Constants.RegionSize, | 852 | (minX - 8) * (int)Constants.RegionSize, |
853 | (maxX + 4) * (int)Constants.RegionSize, | 853 | (maxX + 8) * (int)Constants.RegionSize, |
854 | (minY - 4) * (int)Constants.RegionSize, | 854 | (minY - 8) * (int)Constants.RegionSize, |
855 | (maxY + 4) * (int)Constants.RegionSize); | 855 | (maxY + 8) * (int)Constants.RegionSize); |
856 | foreach (GridRegion r in regions) | 856 | foreach (GridRegion r in regions) |
857 | { | 857 | { |
858 | MapBlockData block = new MapBlockData(); | 858 | MapBlockData block = new MapBlockData(); |