From 15c8e8754903edb6cd970c780b94cf976a9bb61a Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 12 Dec 2022 11:15:38 -0800 Subject: [PATCH] Allow passive pins in stacking def --- eeschema/sch_pin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) ); }