Commit af6e619f authored by Volker Krause's avatar Volker Krause Committed by Torsten Rahn
Browse files

Handle missing landmass tiles gracefully

This does happen around the poles, and would crash generating a tile
covering that area.
parent 41bdcdf6
......@@ -28,6 +28,9 @@ using namespace Marble;
GeoDataDocument* mergeDocuments(GeoDataDocument* map1, GeoDataDocument* map2)
GeoDataDocument* mergedMap = new GeoDataDocument(*map1);
if (!map2) {
return mergedMap;
OsmPlacemarkData marbleLand;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment