mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix svg export bug
This commit is contained in:
parent
18f0af8c23
commit
5cc97b5fb7
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user