Skip to content

Commit

Permalink
Merge pull request #4334 from gabrimonfa/bug_16389_sld_stroke_color
Browse files Browse the repository at this point in the history
fixes #16389 stroke color is not correctly exported in SLD
  • Loading branch information
elpaso authored Apr 5, 2017
2 parents 88c3b51 + cf7acdf commit cf2f431
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 cf2f431

Please sign in to comment.