diff options
Diffstat (limited to 'svg-flatten/src/out_scaler.cpp')
-rw-r--r-- | svg-flatten/src/out_scaler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svg-flatten/src/out_scaler.cpp b/svg-flatten/src/out_scaler.cpp index c6e624d..ab65ab0 100644 --- a/svg-flatten/src/out_scaler.cpp +++ b/svg-flatten/src/out_scaler.cpp @@ -50,7 +50,10 @@ PolygonScaler &PolygonScaler::operator<<(GerberPolarityToken pol) { } PolygonScaler &PolygonScaler::operator<<(const ApertureToken &tok) { - m_sink << ApertureToken(tok.m_size * m_scale); + if (tok.m_has_aperture) + m_sink << ApertureToken(tok.m_size * m_scale); + else + m_sink << tok; return *this; } |