Skip to content

Commit 92ca840

Browse files
rldhontnyalldawson
authored andcommittedNov 17, 2018
[Bugfix][Symbology] Fill to SLD does not export Stroke color
The commit 2f268d4 fixing the way SLD is exporting size, from mm to pixels. But in the case of exporting line to SLD the stroke color has not been preserved.
1 parent b2b7f54 commit 92ca840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/symbology-ng/qgsfillsymbollayerv2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void QgsSimpleFillSymbolLayerV2::toSld( QDomDocument &doc, QDomElement &element,
353353
QDomElement strokeElem = doc.createElement( "se:Stroke" );
354354
symbolizerElem.appendChild( strokeElem );
355355
double borderWidth = QgsSymbolLayerV2Utils::rescaleUom( mBorderWidth, mBorderWidthUnit, props );
356-
QgsSymbolLayerV2Utils::lineToSld( doc, strokeElem, mBorderStyle, borderWidth, borderWidth, &mPenJoinStyle );
356+
QgsSymbolLayerV2Utils::lineToSld( doc, strokeElem, mBorderStyle, mBorderColor, borderWidth, &mPenJoinStyle );
357357
}
358358

359359
// <se:Displacement>

0 commit comments

Comments
 (0)
Please sign in to comment.