Skip to content
Permalink
Browse files
Fix double vertices in simple marker dxf export
  • Loading branch information
mhugent committed Mar 27, 2018
1 parent c53968f commit dfd8e9a
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1381,8 +1381,9 @@ bool QgsSimpleMarkerSymbolLayerV2::writeDxf( QgsDxfExport& e, double mmMapUnitSc

QgsPointSequenceV2 p;
for ( int i = 0; i < polygon.size(); i++ )
{
p << QgsPointV2( polygon[i] );
p << p[0];
}

if ( mBrush.style() != Qt::NoBrush )
e.writePolygon( QgsRingSequenceV2() << p, layerName, "SOLID", bc );

0 comments on commit dfd8e9a

Please sign in to comment.