Skip to content
Permalink
Browse files
Fix display of curved geometries
  • Loading branch information
mhugent committed May 29, 2015
1 parent 82d18e7 commit 0df0986888ee62b4e3fb211a440a5f6378943a3a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/symbology-ng/qgsrendererv2.cpp
@@ -255,6 +255,7 @@ void QgsFeatureRendererV2::renderFeatureWithSymbol( QgsFeature& feature, QgsSymb
{
//geometry requires conversion to straight segments
QgsGeometry* straightGeom = new QgsGeometry( *geom );
straightGeom->convertToStraightSegment();
feature.setGeometry( straightGeom );
geom = feature.constGeometry();
}

0 comments on commit 0df0986

Please sign in to comment.