Skip to content
Permalink
Browse files

Fix dxf export outline width

  • Loading branch information
mhugent committed Apr 10, 2018
1 parent c7c37bd commit cbfdb3d8904ba8a82c68bd7205b52cc2aa9ffaa3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
@@ -1311,7 +1311,7 @@ bool QgsSimpleMarkerSymbolLayerV2::writeDxf( QgsDxfExport& e, double mmMapUnitSc
context.setOriginalValueVariable( mOutlineWidth );
outlineWidth = evaluateDataDefinedProperty( QgsSymbolLayerV2::EXPR_OUTLINE_WIDTH, context, mOutlineWidth ).toDouble();
}
outlineWidth *= e.mapUnitScaleFactor( e.symbologyScaleDenominator(), mSizeUnit, e.mapUnits() );
outlineWidth *= e.mapUnitScaleFactor( e.symbologyScaleDenominator(), mOutlineWidthUnit, e.mapUnits() );

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

0 comments on commit cbfdb3d

Please sign in to comment.
You can’t perform that action at this time.