Skip to content
Permalink
Browse files

Fix truncation of sizes to int during interpolation conversion

  • Loading branch information
nyalldawson committed Sep 9, 2020
1 parent a1f25da commit 7902e4aa095e6a93747d5ae20cb92cfdcd5ecfab
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/vectortile/qgsmapboxglstyleconverter.cpp
@@ -1321,8 +1321,8 @@ QgsProperty QgsMapBoxGlStyleConverter::parseInterpolateByZoom( const QVariantMap
{
scaleExpression = interpolateExpression( stops.value( 0 ).toList().value( 0 ).toInt(),
stops.last().toList().value( 0 ).toInt(),
stops.value( 0 ).toList().value( 1 ).toInt(),
stops.last().toList().value( 1 ).toInt(), base, multiplier );
stops.value( 0 ).toList().value( 1 ).toDouble(),
stops.last().toList().value( 1 ).toDouble(), base, multiplier );
}
}
else

0 comments on commit 7902e4a

Please sign in to comment.
You can’t perform that action at this time.