Fix display of curved geometries

This commit is contained in:
Marco Hugentobler 2015-05-29 11:56:57 +02:00
parent 82d18e7e61
commit 0df0986888

View File

@ -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();
}