Skip to content
Permalink
Browse files

Remove no longer required workaround

(cherry picked from commit 8983f36)
  • Loading branch information
nyalldawson committed Dec 2, 2018
1 parent 34a821e commit c06bcc6793cb0d7d7bfe3fa5f9f1d46dde2e589f
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/core/symbology/qgssymbollayerutils.cpp
@@ -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;
}

0 comments on commit c06bcc6

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