Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Followup c6460a3, avoid rendering issues
  • Loading branch information
nyalldawson committed Nov 21, 2015
1 parent 03f9e1b commit 0a2773f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/symbology-ng/qgslinesymbollayerv2.cpp
Expand Up @@ -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 &&
Expand Down

0 comments on commit 0a2773f

Please sign in to comment.