Navigation Menu

Skip to content

Commit

Permalink
load SLD properly if fill style polygon is defined: followup 4bc1beb
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Sep 3, 2013
1 parent 4bc1beb commit 6da45f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgssymbollayerv2utils.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 6da45f8

Please sign in to comment.