From ac453510af301dec3c3bfe3205e954a5ac84bee9 Mon Sep 17 00:00:00 2001 From: Serge Dikiy Date: Sun, 17 Jun 2012 19:11:16 +0300 Subject: [PATCH] quick fix for http://hub.qgis.org/issues/4514 --- src/core/symbology-ng/qgsrendererv2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/symbology-ng/qgsrendererv2.cpp b/src/core/symbology-ng/qgsrendererv2.cpp index 57c146ecd68..655ac7f821c 100644 --- a/src/core/symbology-ng/qgsrendererv2.cpp +++ b/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;