Add missing check in tuning pattern outline.
This commit is contained in:
parent
0afac71b27
commit
2e97d5d7cc
|
@ -1716,7 +1716,7 @@ SHAPE_LINE_CHAIN PCB_TUNING_PATTERN::getOutline() const
|
||||||
poly.OffsetLineChain( *m_baseLine, amplitude, CORNER_STRATEGY::ROUND_ALL_CORNERS,
|
poly.OffsetLineChain( *m_baseLine, amplitude, CORNER_STRATEGY::ROUND_ALL_CORNERS,
|
||||||
ARC_LOW_DEF, false );
|
ARC_LOW_DEF, false );
|
||||||
|
|
||||||
if( m_baseLineCoupled )
|
if( m_tuningMode == DIFF_PAIR && m_baseLineCoupled )
|
||||||
{
|
{
|
||||||
SHAPE_POLY_SET polyCoupled;
|
SHAPE_POLY_SET polyCoupled;
|
||||||
polyCoupled.OffsetLineChain( *m_baseLineCoupled, amplitude,
|
polyCoupled.OffsetLineChain( *m_baseLineCoupled, amplitude,
|
||||||
|
|
Loading…
Reference in New Issue