Fix bad fills when using marker line with render effects (fix #15696)

This commit is contained in:
Nyall Dawson 2016-10-14 17:05:00 +10:00
parent 47c1f6e635
commit a0bfc10c56

View File

@ -870,6 +870,9 @@ void QgsMarkerLineSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbo
}
}
context.renderContext().painter()->save();
if ( qgsDoubleNear( offset, 0.0 ) )
{
if ( placement == Interval )
@ -896,6 +899,8 @@ void QgsMarkerLineSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbo
renderPolylineVertex( points2, context, placement );
}
}
context.renderContext().painter()->restore();
}
void QgsMarkerLineSymbolLayer::renderPolygonOutline( const QPolygonF& points, QList<QPolygonF>* rings, QgsSymbolRenderContext& context )