mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Merge pull request #179 from sdikiy/master
quick fix for http://hub.qgis.org/issues/4514
This commit is contained in:
commit
d71e001297
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user