Skip to content

Commit 6da45f8

Browse files
committed
load SLD properly if fill style polygon is defined: followup 4bc1beb
1 parent 4bc1beb commit 6da45f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/symbology-ng/qgssymbollayerv2utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,7 @@ bool QgsSymbolLayerV2Utils::fillFromSld( QDomElement &element, Qt::BrushStyle &b
15611561
QString patternName = "square";
15621562
QColor fillColor, borderColor;
15631563
double borderWidth, size;
1564-
if ( !wellKnownMarkerFromSld( graphicFillElem, patternName, fillColor, borderColor, borderWidth, size ) )
1564+
if ( !wellKnownMarkerFromSld( graphicElem, patternName, fillColor, borderColor, borderWidth, size ) )
15651565
return false;
15661566

15671567
brushStyle = decodeSldBrushStyle( patternName );

0 commit comments

Comments
 (0)