Skip to content
Permalink
Browse files

Followup c6460a3, avoid rendering issues

(cherry picked from commit 0a2773f)
  • Loading branch information
nyalldawson authored and jef-n committed Nov 25, 2015
1 parent dbe30f9 commit 066867b9c244d26638c6aa85ed625d3bcf87d92a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -302,6 +302,7 @@ void QgsSimpleLineSymbolLayerV2::renderPolyline( const QPolygonF& points, QgsSym
applyDataDefinedSymbology( context, mPen, mSelPen, offset );

p->setPen( context.selected() ? mSelPen : mPen );
p->setBrush( Qt::NoBrush );

// Disable 'Antialiasing' if the geometry was generalized in the current RenderContext (We known that it must have least #2 points).
if ( points.size() <= 2 &&

0 comments on commit 066867b

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