Skip to content
Permalink
Browse files

Fix marker line offset along line unit is ignored when in Interval mode

(cherry picked from commit e7389db)
  • Loading branch information
nyalldawson committed Mar 22, 2019
1 parent af7c3eb commit 9252da03f2b6dda1896ebc07a7ac7abfe70ef62a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgslinesymbollayer.cpp
@@ -1013,7 +1013,7 @@ void QgsMarkerLineSymbolLayer::renderPolylineInterval( const QPolygonF &points,
}

double painterUnitInterval = rc.convertToPainterUnits( interval, mIntervalUnit, mIntervalMapUnitScale );
lengthLeft = painterUnitInterval - rc.convertToPainterUnits( offsetAlongLine, mIntervalUnit, mIntervalMapUnitScale );
lengthLeft = painterUnitInterval - rc.convertToPainterUnits( offsetAlongLine, mOffsetAlongLineUnit, mOffsetAlongLineMapUnitScale );

int pointNum = 0;
for ( int i = 1; i < points.count(); ++i )

0 comments on commit 9252da0

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