Skip to content
Permalink
Browse files

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

  • Loading branch information
nyalldawson committed Oct 14, 2016
1 parent 47c1f6e commit a0bfc10c568e3e4f54a7f43ca285e2e7b11a194a
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core/symbology-ng/qgslinesymbollayer.cpp
@@ -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 )

0 comments on commit a0bfc10

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