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 dfd8e9a8dc48e183e2f32e5814ee204b9f428de2
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
@@ -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.
You can’t perform that action at this time.