Skip to content

Commit 0df0986

Browse files
committed
Fix display of curved geometries
1 parent 82d18e7 commit 0df0986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/symbology-ng/qgsrendererv2.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ void QgsFeatureRendererV2::renderFeatureWithSymbol( QgsFeature& feature, QgsSymb
255255
{
256256
//geometry requires conversion to straight segments
257257
QgsGeometry* straightGeom = new QgsGeometry( *geom );
258+
straightGeom->convertToStraightSegment();
258259
feature.setGeometry( straightGeom );
259260
geom = feature.constGeometry();
260261
}

0 commit comments

Comments
 (0)