SCH_SYMBOL::UpdatePins() re-add pin filtering by conversion:
It was removed by accident in commit c72091d7e
.
without the filtering pins, in symbols with conversion, pins are added
twice in Pin list and create errors in ERC
This commit is contained in:
parent
6013c796dd
commit
0e95f06c7b
|
@ -358,8 +358,10 @@ void SCH_SYMBOL::UpdatePins()
|
|||
{
|
||||
wxASSERT( libPin->Type() == LIB_PIN_T );
|
||||
|
||||
// NW: Don't filter by conversion or unit: this data-structure is used for all instances,
|
||||
// some if which might have different conversions and/or units.
|
||||
// NW: Don't filter by unit: this data-structure is used for all instances,
|
||||
// some if which might have different units.
|
||||
if( libPin->GetConvert() && m_convert && m_convert != libPin->GetConvert() )
|
||||
continue;
|
||||
|
||||
m_pins.push_back( std::make_unique<SCH_PIN>( libPin, this ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue