Allow passive pins in stacking def

This commit is contained in:
Seth Hillbrand 2022-12-12 11:15:38 -08:00
parent 2fd500e20b
commit 15c8e87549
1 changed files with 3 additions and 1 deletions

View File

@ -249,7 +249,9 @@ bool SCH_PIN::IsStacked( const SCH_PIN* aPin ) const
{ {
return m_parent == aPin->GetParent() return m_parent == aPin->GetParent()
&& GetTransformedPosition() == aPin->GetTransformedPosition() && GetTransformedPosition() == aPin->GetTransformedPosition()
&& GetType() == aPin->GetType(); && ( ( GetType() == aPin->GetType() )
|| ( GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE )
|| ( aPin->GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE ) );
} }