Fix invalid conversion from points to mm

This commit is contained in:
Nyall Dawson 2017-01-22 14:51:29 +10:00
parent 57aee18c67
commit dd187a3fcb

View File

@ -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 );