svg-flatten: fix dilation of new aperture tokens
This commit is contained in:
parent
dd0c1cb632
commit
1da5919d91
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue