diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp index 5058eb7525..f0353d9204 100644 --- a/eeschema/sch_pin.cpp +++ b/eeschema/sch_pin.cpp @@ -249,7 +249,9 @@ bool SCH_PIN::IsStacked( const SCH_PIN* aPin ) const { return m_parent == aPin->GetParent() && GetTransformedPosition() == aPin->GetTransformedPosition() - && GetType() == aPin->GetType(); + && ( ( GetType() == aPin->GetType() ) + || ( GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE ) + || ( aPin->GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE ) ); }