Pickup map overlay tile from RegionSettings.ParcelImageID
parent
3de534896e
commit
00d1c88c59
|
@ -1026,7 +1026,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
protected void MapBlockFromGridRegion(MapBlockData block, GridRegion r)
|
protected void MapBlockFromGridRegion(MapBlockData block, GridRegion r)
|
||||||
{
|
{
|
||||||
block.Access = r.Access;
|
block.Access = r.Access;
|
||||||
block.MapImageId = r.TerrainImage;
|
block.MapImageId = m_scene.RegionInfo.RegionSettings.ParcelImageID;
|
||||||
block.Name = r.RegionName;
|
block.Name = r.RegionName;
|
||||||
block.X = (ushort)(r.RegionLocX / Constants.RegionSize);
|
block.X = (ushort)(r.RegionLocX / Constants.RegionSize);
|
||||||
block.Y = (ushort)(r.RegionLocY / Constants.RegionSize);
|
block.Y = (ushort)(r.RegionLocY / Constants.RegionSize);
|
||||||
|
|
Loading…
Reference in New Issue