mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix bad fills when using marker line with render effects (fix #15696)
This commit is contained in:
parent
47c1f6e635
commit
a0bfc10c56
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user