Skip to content

Commit

Permalink
Followup c6460a3, avoid rendering issues
Browse files Browse the repository at this point in the history
(cherry picked from commit 0a2773f)
  • Loading branch information
nyalldawson authored and jef-n committed Nov 25, 2015
1 parent dbe30f9 commit 066867b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/symbology-ng/qgslinesymbollayerv2.cpp
Original file line number Diff line number Diff line change
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 066867b

Please sign in to comment.