Skip to content

Commit

Permalink
Fix double vertices in simple marker dxf export
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 27, 2018
1 parent c53968f commit dfd8e9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit dfd8e9a

Please sign in to comment.