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…
Reference in New Issue