Skip to content

Commit

Permalink
Fix simple marker rotation in dxf export (CW instead of CCW)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent authored and nyalldawson committed Jul 17, 2022
1 parent 2003e15 commit b83a171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgsmarkersymbollayer.cpp
Expand Up @@ -1528,7 +1528,7 @@ bool QgsSimpleMarkerSymbolLayer::writeDxf( QgsDxfExport &e, double mmMapUnitScal
t.translate( shift.x() + off.x(), shift.y() - off.y() );

if ( !qgsDoubleNear( angle, 0.0 ) )
t.rotate( angle );
t.rotate( -angle );

QPolygonF polygon;
if ( shapeToPolygon( shape, polygon ) )
Expand Down

0 comments on commit b83a171

Please sign in to comment.