diff options
Diffstat (limited to 'svg-flatten')
-rw-r--r-- | svg-flatten/src/out_dilater.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svg-flatten/src/out_dilater.cpp b/svg-flatten/src/out_dilater.cpp index 4a259a9..b8e55e8 100644 --- a/svg-flatten/src/out_dilater.cpp +++ b/svg-flatten/src/out_dilater.cpp @@ -85,7 +85,10 @@ Dilater &Dilater::operator<<(const Polygon &poly) { } Dilater &Dilater::operator<<(const ApertureToken &ap) { - m_sink << ApertureToken(ap.m_size + 2*m_dilation); + if (ap.m_has_aperture) + m_sink << ApertureToken(ap.m_size + 2*m_dilation); + else + m_sink << ap; return *this; } |