Skip to content

Commit

Permalink
Fix invalid conversion from points to mm
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 22, 2017
1 parent 57aee18 commit dd187a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgssymbollayerutils.cpp
Expand Up @@ -3308,7 +3308,7 @@ double QgsSymbolLayerUtils::lineWidthScaleFactor( const QgsRenderContext& c, Qgs
case QgsUnitTypes::RenderMillimeters:
return c.scaleFactor();
case QgsUnitTypes::RenderPoints:
return c.scaleFactor() * POINTS_TO_MM;
return c.scaleFactor() / POINTS_TO_MM;
case QgsUnitTypes::RenderMapUnits:
{
double mup = scale.computeMapUnitsPerPixel( c );
Expand Down

0 comments on commit dd187a3

Please sign in to comment.