Skip to content

Commit cbfdb3d

Browse files
committedApr 10, 2018
Fix dxf export outline width
1 parent c7c37bd commit cbfdb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ bool QgsSimpleMarkerSymbolLayerV2::writeDxf( QgsDxfExport& e, double mmMapUnitSc
13111311
context.setOriginalValueVariable( mOutlineWidth );
13121312
outlineWidth = evaluateDataDefinedProperty( QgsSymbolLayerV2::EXPR_OUTLINE_WIDTH, context, mOutlineWidth ).toDouble();
13131313
}
1314-
outlineWidth *= e.mapUnitScaleFactor( e.symbologyScaleDenominator(), mSizeUnit, e.mapUnits() );
1314+
outlineWidth *= e.mapUnitScaleFactor( e.symbologyScaleDenominator(), mOutlineWidthUnit, e.mapUnits() );
13151315

13161316
//color
13171317
QColor pc = mPen.color();

0 commit comments

Comments
 (0)
Please sign in to comment.