diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index b6d96ac..adcad03 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -1426,7 +1426,8 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1426 | using (Bitmap mapbmp = m_mapImageGenerator.CreateMapTile()) | 1426 | using (Bitmap mapbmp = m_mapImageGenerator.CreateMapTile()) |
1427 | { | 1427 | { |
1428 | GenerateMaptile(mapbmp); | 1428 | GenerateMaptile(mapbmp); |
1429 | m_mapImageServiceModule.UploadMapTile(m_scene, mapbmp); | 1429 | if(m_mapImageServiceModule != null) |
1430 | m_mapImageServiceModule.UploadMapTile(m_scene, mapbmp); | ||
1430 | } | 1431 | } |
1431 | } | 1432 | } |
1432 | 1433 | ||
@@ -1562,7 +1563,8 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1562 | GenerateMaptile(mapbmp); | 1563 | GenerateMaptile(mapbmp); |
1563 | 1564 | ||
1564 | // v2/3 (MapImageServiceModule) | 1565 | // v2/3 (MapImageServiceModule) |
1565 | m_mapImageServiceModule.UploadMapTile(m_scene, mapbmp); | 1566 | if(m_mapImageServiceModule !=null) |
1567 | m_mapImageServiceModule.UploadMapTile(m_scene, mapbmp); | ||
1566 | } | 1568 | } |
1567 | } | 1569 | } |
1568 | 1570 | ||