Skip to content
Permalink
Browse files

quick fix for http://hub.qgis.org/issues/4514

  • Loading branch information
sdikiy committed Jun 17, 2012
1 parent be858fc commit ac453510af301dec3c3bfe3205e954a5ac84bee9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsrendererv2.cpp
@@ -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;

0 comments on commit ac45351

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