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 github-actions[bot] committed Jul 13, 2022
1 parent e9990a4 commit 41222f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgsmarkersymbollayer.cpp
Expand Up @@ -1530,7 +1530,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 41222f7

Please sign in to comment.