diff options
author | BlueWall | 2012-01-30 11:49:22 -0500 |
---|---|---|
committer | BlueWall | 2012-01-30 11:49:22 -0500 |
commit | 00d1c88c59c10aa8d34fa36910cf0f1f0e9878b8 (patch) | |
tree | 409418752c58ba9e3b3055ceef69be505abe3ac1 | |
parent | Add ParcelImageID to RegionSettings so we can have that overlay. (diff) | |
download | opensim-SC-00d1c88c59c10aa8d34fa36910cf0f1f0e9878b8.zip opensim-SC-00d1c88c59c10aa8d34fa36910cf0f1f0e9878b8.tar.gz opensim-SC-00d1c88c59c10aa8d34fa36910cf0f1f0e9878b8.tar.bz2 opensim-SC-00d1c88c59c10aa8d34fa36910cf0f1f0e9878b8.tar.xz |
Pickup map overlay tile from RegionSettings.ParcelImageID
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index eac2743..bbf6b05 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -1026,7 +1026,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1026 | protected void MapBlockFromGridRegion(MapBlockData block, GridRegion r) | 1026 | protected void MapBlockFromGridRegion(MapBlockData block, GridRegion r) |
1027 | { | 1027 | { |
1028 | block.Access = r.Access; | 1028 | block.Access = r.Access; |
1029 | block.MapImageId = r.TerrainImage; | 1029 | block.MapImageId = m_scene.RegionInfo.RegionSettings.ParcelImageID; |
1030 | block.Name = r.RegionName; | 1030 | block.Name = r.RegionName; |
1031 | block.X = (ushort)(r.RegionLocX / Constants.RegionSize); | 1031 | block.X = (ushort)(r.RegionLocX / Constants.RegionSize); |
1032 | block.Y = (ushort)(r.RegionLocY / Constants.RegionSize); | 1032 | block.Y = (ushort)(r.RegionLocY / Constants.RegionSize); |