From ab766e6c1cba700a8a6a506a9e0978369351957a Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 27 Jul 2019 11:28:59 -0400 Subject: [PATCH] Don't absorb neighbors based on weak component pins Fixes: lp:1838140 * https://bugs.launchpad.net/kicad/+bug/1838140 --- eeschema/connection_graph.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/connection_graph.cpp b/eeschema/connection_graph.cpp index 5325d8fd73..f92e4864d1 100644 --- a/eeschema/connection_graph.cpp +++ b/eeschema/connection_graph.cpp @@ -1183,7 +1183,9 @@ void CONNECTION_GRAPH::buildConnectionGraph() if( driver->Type() == SCH_PIN_T ) { - if( static_cast( driver )->GetName() == test_name ) + auto pin = static_cast( driver ); + + if( pin->IsPowerConnection() && pin->GetName() == test_name ) { match = true; break;