diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-04-13 22:12:47 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-04-28 09:13:49 +0000 |
commit | 380aad323cd622aa500fa31e195da40c8b660bc1 (patch) | |
tree | cb50646a386c30b366655ce0e93ab62bc137bd08 | |
parent | 716d9bf3d9af908fb9708b42ab79da51d5da309b (diff) | |
download | qtlocation-380aad323cd622aa500fa31e195da40c8b660bc1.tar.gz |
Fix for nearest scaling still being used in overzoom
An assignment was missing to make the overzooming bool actually kick
in.
Change-Id: I5f6e52016026af050c734bca31e45f06fbbdb9b5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/location/maps/qgeotiledmapscene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qgeotiledmapscene.cpp b/src/location/maps/qgeotiledmapscene.cpp index e9adc98a..c1b0d8ef 100644 --- a/src/location/maps/qgeotiledmapscene.cpp +++ b/src/location/maps/qgeotiledmapscene.cpp @@ -250,6 +250,7 @@ bool QGeoTiledMapScenePrivate::buildGeometry(const QGeoTileSpec &spec, QSGImageN const int x = (spec.x() % tilesPerTexture) * mappedSize; const int y = (spec.y() % tilesPerTexture) * mappedSize; imageNode->setSourceRect(QRectF(x, y, mappedSize, mappedSize)); + overzooming = true; } else { imageNode->setSourceRect(QRectF(QPointF(0,0), imageNode->texture()->textureSize())); } |