Skip to content

Commit

Permalink
Merge pull request #34441 from rldhont/fix-read-sld-textsymbolizer-po…
Browse files Browse the repository at this point in the history
…intplacement-for-lines

[Bugfix] Read SLD TextSymbolizer PointPlacement for lines
  • Loading branch information
rldhont committed Feb 13, 2020
2 parents 37a4c10 + f38cc55 commit 82324ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -4620,7 +4620,7 @@ bool QgsVectorLayer::readSldTextSymbolizer( const QDomNode &node, QgsPalLayerSet
settings.placement = QgsPalLayerSettings::OverPoint;
if ( geometryType() == QgsWkbTypes::LineGeometry )
{
settings.placement = QgsPalLayerSettings::Line;
settings.placement = QgsPalLayerSettings::Horizontal;
}

QDomElement displacementElem = pointPlacementElem.firstChildElement( QStringLiteral( "Displacement" ) );
Expand Down

0 comments on commit 82324ec

Please sign in to comment.