Commit a2b74101 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

probably bring back photo rendering

parent df9b8505
......@@ -1557,6 +1557,8 @@ QStringList StyleBuilder::renderOrder() const
paintLayerOrder << QStringLiteral("Polygon/Building/frame");
paintLayerOrder << QStringLiteral("Polygon/Building/roof");
paintLayerOrder << QStringLiteral("Photo");
Q_ASSERT(QSet<QString>::fromList(paintLayerOrder).size() == paintLayerOrder.size());
}
......
......@@ -25,7 +25,7 @@ GeoPhotoGraphicsItem::GeoPhotoGraphicsItem( const GeoDataFeature *feature )
: GeoGraphicsItem( feature )
{
if (feature) {
QString const paintLayer = QLatin1String("Photo/") + StyleBuilder::visualCategoryName(feature->visualCategory());
QString const paintLayer = QStringLiteral("Photo");
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