Fix pin check to allow for globals
Don't short-circuit adding global labels to the pins vector or we won't search all subnets
This commit is contained in:
parent
ace4ef7b16
commit
ba6979a274
|
@ -3388,11 +3388,8 @@ bool CONNECTION_GRAPH::ercCheckNoConnects( const CONNECTION_SUBGRAPH* aSubgraph
|
||||||
{
|
{
|
||||||
SCH_PIN* test_pin = static_cast<SCH_PIN*>( item );
|
SCH_PIN* test_pin = static_cast<SCH_PIN*>( item );
|
||||||
|
|
||||||
if( test_pin->GetParentSymbol()->IsPower() )
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// Stacked pins do not count as other connections but non-stacked pins do
|
// Stacked pins do not count as other connections but non-stacked pins do
|
||||||
if( !has_other_connections && !pins.empty() )
|
if( !has_other_connections && !pins.empty() && !test_pin->GetParentSymbol()->IsPower() )
|
||||||
{
|
{
|
||||||
for( SCH_PIN* other_pin : pins )
|
for( SCH_PIN* other_pin : pins )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue