Skip to content
Permalink
Browse files
Fix invalid conversion from points to mm
  • Loading branch information
nyalldawson committed Jan 22, 2017
1 parent 57aee18 commit dd187a3fcb82b8ea0a51ed323e8174d783faa9aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgssymbollayerutils.cpp
@@ -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 );

0 comments on commit dd187a3

Please sign in to comment.