Version 1.x shall work too

This commit is contained in:
Martin Tůma 2018-10-31 01:43:10 +01:00
parent b064c4bbfa
commit 1ffe156768

View File

@ -121,7 +121,7 @@ static void feature(const Feature &feature, Style *style, int styleLayer,
static void layer(const Layer &layer, Style *style, int styleLayer, Tile &tile) static void layer(const Layer &layer, Style *style, int styleLayer, Tile &tile)
{ {
if (layer.data->version() != 2) if (layer.data->version() > 2)
return; return;
qreal factor = layer.data->extent() / (qreal)tile.size(); qreal factor = layer.data->extent() / (qreal)tile.size();