Fix target skew not working properly in meander skew placer.
This commit is contained in:
parent
e4e769493c
commit
74075fe4d6
|
@ -118,8 +118,6 @@ bool MEANDER_SKEW_PLACER::Start( const VECTOR2I& aP, ITEM* aStartItem )
|
||||||
m_tunedPath = m_tunedPathN;
|
m_tunedPath = m_tunedPathN;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_targetSkew = (int) currentSkew();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,7 +162,7 @@ bool MEANDER_SKEW_PLACER::Move( const VECTOR2I& aP, ITEM* aEndItem )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return doMove( aP, aEndItem, m_coupledLength + m_targetSkew );
|
return doMove( aP, aEndItem, m_coupledLength + m_settings.m_targetSkew );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -189,7 +187,7 @@ const wxString MEANDER_SKEW_PLACER::TuningInfo( EDA_UNITS aUnits ) const
|
||||||
|
|
||||||
status += EDA_UNIT_UTILS::UI::MessageTextFromValue( pcbIUScale, aUnits, m_lastLength - m_coupledLength );
|
status += EDA_UNIT_UTILS::UI::MessageTextFromValue( pcbIUScale, aUnits, m_lastLength - m_coupledLength );
|
||||||
status += wxT( "/" );
|
status += wxT( "/" );
|
||||||
status += EDA_UNIT_UTILS::UI::MessageTextFromValue( pcbIUScale, aUnits, m_targetSkew );
|
status += EDA_UNIT_UTILS::UI::MessageTextFromValue( pcbIUScale, aUnits, m_settings.m_targetSkew );
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,6 @@ private:
|
||||||
long long int m_coupledLength;
|
long long int m_coupledLength;
|
||||||
int m_padToDieP;
|
int m_padToDieP;
|
||||||
int m_padToDieN;
|
int m_padToDieN;
|
||||||
int m_targetSkew;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue