Fix corner radius for 0 amplitude meanders.

This commit is contained in:
Alex Shvartzkop 2024-02-10 08:36:50 +03:00
parent ff17a22e31
commit 2b295f85f5
1 changed files with 3 additions and 0 deletions

View File

@ -300,6 +300,9 @@ int MEANDER_SHAPE::MinAmplitude() const
int MEANDER_SHAPE::cornerRadius() const
{
if( m_amplitude == 0 )
return 0;
int minCr = 0;
if( m_placer->MeanderSettings().m_cornerStyle == MEANDER_STYLE_ROUND )