Don't absorb neighbors based on weak component pins

Fixes: lp:1838140
* https://bugs.launchpad.net/kicad/+bug/1838140
This commit is contained in:
Jon Evans 2019-07-27 11:28:59 -04:00
parent b99c71744f
commit ab766e6c1c
1 changed files with 3 additions and 1 deletions

View File

@ -1183,7 +1183,9 @@ void CONNECTION_GRAPH::buildConnectionGraph()
if( driver->Type() == SCH_PIN_T )
{
if( static_cast<SCH_PIN*>( driver )->GetName() == test_name )
auto pin = static_cast<SCH_PIN*>( driver );
if( pin->IsPowerConnection() && pin->GetName() == test_name )
{
match = true;
break;