Merge pull request #179 from sdikiy/master

quick fix for http://hub.qgis.org/issues/4514
This commit is contained in:
mhugent 2012-06-17 13:01:30 -07:00
commit d71e001297

View File

@ -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;