Skip to content

Commit

Permalink
Merge pull request #3370 from AHorneffer/patch-1
Browse files Browse the repository at this point in the history
close gerber regions properly (#3333)
  • Loading branch information
aknoerig committed Dec 4, 2017
2 parents 6e5f4c5 + ea23a14 commit 4a7ed22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svg/gerbergenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,10 @@ void GerberPaintEngine::collectFile(QTextStream &output, bool mirrorX) {
output << "G36*\n";
for (size_t j = 0; j < r.polygon.size(); j++)
xyd(output, r.polygon[j].X, r.polygon[j].Y, j == 0 ? 2 : 1, mirrorX);
output << "G37*\n";
if (r.lightPolarity)
output << "%LPD*%\n";
}
output << "G37*\n";
}
}
for(QList<RoundAperture>::iterator i = roundAperturesDefs.begin(); i != roundAperturesDefs.end(); ++i) {
Expand Down

0 comments on commit 4a7ed22

Please sign in to comment.