Skip to content

Commit

Permalink
Merge pull request #179 from sdikiy/master
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 17, 2012
2 parents f55c13f + ac45351 commit d71e001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ unsigned char* QgsFeatureRendererV2::_getLineString( QPolygonF& pts, QgsRenderCo
const QgsMapToPixel& mtp = context.mapToPixel();

//apply clipping for large lines to achieve a better rendering performance
if ( nPoints > 100 )
if ( nPoints > 1 )
{
const QgsRectangle& e = context.extent();
double cw = e.width() / 10; double ch = e.height() / 10;
Expand Down

0 comments on commit d71e001

Please sign in to comment.