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:
parent
0fd0e84162
commit
cdde4c4b40
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue