Commit 56fcd260 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix regression: some groundlayers were being painted over structures

fixup for bc13e500
parent d094e377
......@@ -52,7 +52,7 @@ GeoPolygonGraphicsItem::GeoPolygonGraphicsItem(const GeoDataFeature *feature, co
setZValue(zValue() + elevation);
}
const QString paintLayer = QLatin1String("Polygon/%1") + StyleBuilder::visualCategoryName(visualCategory);
const QString paintLayer = QLatin1String("Polygon/") + StyleBuilder::visualCategoryName(visualCategory);
setPaintLayers(QStringList() << paintLayer);
}
}
......@@ -82,7 +82,7 @@ GeoPolygonGraphicsItem::GeoPolygonGraphicsItem(const GeoDataFeature *feature, co
setZValue(zValue() + elevation);
}
const QString paintLayer = QLatin1String("Polygon/%1") + StyleBuilder::visualCategoryName(visualCategory);
const QString paintLayer = QLatin1String("Polygon/") + StyleBuilder::visualCategoryName(visualCategory);
setPaintLayers(QStringList() << paintLayer);
}
}
......
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