mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Allow passive pins in stacking def
This commit is contained in:
parent
2fd500e20b
commit
15c8e87549
@ -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 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user