Skip to content
Permalink
Browse files

Fix svg export bug

  • Loading branch information
mhugent authored and nyalldawson committed Jun 17, 2018
1 parent 18f0af8 commit 5cc97b5fb74804b5c3a16f9e104d093037d78160
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgsmarkersymbollayer.cpp
@@ -2433,7 +2433,7 @@ bool QgsSvgMarkerSymbolLayer::writeDxf( QgsDxfExport &e, double mmMapUnitScaleFa
if ( mDataDefinedProperties.isActive( QgsSymbolLayer::PropertyStrokeColor ) )
{
context.setOriginalValueVariable( QgsSymbolLayerUtils::encodeColor( mStrokeColor ) );
fillColor = mDataDefinedProperties.valueAsColor( QgsSymbolLayer::PropertyStrokeColor, context.renderContext().expressionContext(), mStrokeColor );
strokeColor = mDataDefinedProperties.valueAsColor( QgsSymbolLayer::PropertyStrokeColor, context.renderContext().expressionContext(), mStrokeColor );
}

const QByteArray &svgContent = QgsApplication::svgCache()->svgContent( path, size, fillColor, strokeColor, strokeWidth,

0 comments on commit 5cc97b5

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