mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Remove no longer required workaround
This commit is contained in:
parent
e5946c50e7
commit
0462c260a3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user