Skip to content

Commit

Permalink
bug 16389 fix error in sld export about stroke color
Browse files Browse the repository at this point in the history
  • Loading branch information
gmonfardini committed Apr 5, 2017
1 parent 88c3b51 commit cf7acdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsfillsymbollayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ void QgsSimpleFillSymbolLayer::toSld( QDomDocument &doc, QDomElement &element, c
QDomElement strokeElem = doc.createElement( QStringLiteral( "se:Stroke" ) );
symbolizerElem.appendChild( strokeElem );
double strokeWidth = QgsSymbolLayerUtils::rescaleUom( mStrokeWidth, mStrokeWidthUnit, props );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, strokeWidth, strokeWidth, &mPenJoinStyle );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, mStrokeColor, strokeWidth, &mPenJoinStyle );
}

// <se:Displacement>
Expand Down

0 comments on commit cf7acdf

Please sign in to comment.