Skip to content

Commit

Permalink
BoardGerberExport: Fix missing rotation of footprint circles
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Aug 31, 2019
1 parent d27b74f commit d6be429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/librepcb/project/boards/boardgerberexport.cpp
Expand Up @@ -485,6 +485,7 @@ void BoardGerberExport::drawFootprint(GerberGenerator& gen,
if (layer == circle.getLayerName()) {
Circle copy = circle;
Point absolutePos = copy.getCenter();
absolutePos.rotate(footprint.getRotation());
if (footprint.getIsMirrored()) absolutePos.mirror(Qt::Horizontal);
absolutePos += footprint.getPosition();
copy.setCenter(absolutePos);
Expand Down

0 comments on commit d6be429

Please sign in to comment.