Skip to content

Commit dd187a3

Browse files
committed
Fix invalid conversion from points to mm
1 parent 57aee18 commit dd187a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/core/symbology-ng/qgssymbollayerutils.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3308,7 +3308,7 @@ double QgsSymbolLayerUtils::lineWidthScaleFactor( const QgsRenderContext& c, Qgs
33083308
case QgsUnitTypes::RenderMillimeters:
33093309
return c.scaleFactor();
33103310
case QgsUnitTypes::RenderPoints:
3311-
return c.scaleFactor() * POINTS_TO_MM;
3311+
return c.scaleFactor() / POINTS_TO_MM;
33123312
case QgsUnitTypes::RenderMapUnits:
33133313
{
33143314
double mup = scale.computeMapUnitsPerPixel( c );

0 commit comments

Comments
 (0)