Eeschema: remove superfluous updating of SCH_COMPONENT pins.
Every time SCH_COMPONENT::GetDrawItem() was called, the schematic symbol pin table was updated. Under certain conditions, this happens inside loops so the amount of time spent rebuilding the pin table can add up.
This commit is contained in:
parent
e8524163db
commit
b83d64fc0d
|
@ -1433,8 +1433,6 @@ void SCH_COMPONENT::GetConnectionPoints( std::vector< wxPoint >& aPoints ) const
|
|||
|
||||
LIB_ITEM* SCH_COMPONENT::GetDrawItem( const wxPoint& aPosition, KICAD_T aType )
|
||||
{
|
||||
UpdatePins();
|
||||
|
||||
if( m_part )
|
||||
{
|
||||
// Calculate the position relative to the component.
|
||||
|
|
Loading…
Reference in New Issue