Fix a bug in how we check for differential pair tuning.

Fixes: lp:1545856
* https://bugs.launchpad.net/kicad/+bug/1545856
This commit is contained in:
Jeff Young 2018-05-21 13:48:48 +01:00
parent 0fd0e84162
commit cdde4c4b40
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ void MEANDERED_LINE::MeanderSegment( const SEG& aBase, int aBaseIndex )
int MEANDER_SHAPE::cornerRadius() const
{
// TODO: fix diff-pair meandering so we can use non-100% radii
int rPercent = m_type == PNS_MODE_TUNE_DIFF_PAIR ? 100 : Settings().m_cornerRadiusPercentage;
int rPercent = m_dual ? 100 : Settings().m_cornerRadiusPercentage;
return (int64_t) spacing() * rPercent / 200;
}