Skip to content

Commit

Permalink
Remove no longer required workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 9, 2018
1 parent e5946c5 commit 0462c26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/symbology/qgssymbollayerutils.cpp
Expand Up @@ -847,9 +847,6 @@ QList<QPolygonF> offsetLine( QPolygonF polyline, double dist, QgsWkbTypes::Geome
if ( QgsWkbTypes::flatType( tempGeometry.wkbType() ) == QgsWkbTypes::LineString )
{
QgsPolylineXY line = tempGeometry.asPolyline();
// Reverse the line if offset was negative, see
// https://issues.qgis.org/issues/13811
if ( dist < 0 ) std::reverse( line.begin(), line.end() );
resultLine.append( makeOffsetGeometry( line ) );
return resultLine;
}
Expand Down

0 comments on commit 0462c26

Please sign in to comment.