Skip to content
Permalink
Browse files

load SLD properly if fill style polygon is defined: followup 4bc1beb

  • Loading branch information
slarosa committed Sep 3, 2013
1 parent 4bc1beb commit 6da45f863d035238cff0de3008717cc8d5f687bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgssymbollayerv2utils.cpp
@@ -1561,7 +1561,7 @@ bool QgsSymbolLayerV2Utils::fillFromSld( QDomElement &element, Qt::BrushStyle &b
QString patternName = "square";
QColor fillColor, borderColor;
double borderWidth, size;
if ( !wellKnownMarkerFromSld( graphicFillElem, patternName, fillColor, borderColor, borderWidth, size ) )
if ( !wellKnownMarkerFromSld( graphicElem, patternName, fillColor, borderColor, borderWidth, size ) )
return false;

brushStyle = decodeSldBrushStyle( patternName );

0 comments on commit 6da45f8

Please sign in to comment.
You can’t perform that action at this time.