From 79dd6e6476305a1e1c7f627eec0de65839cfaa12 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 10 Nov 2020 11:30:30 +0100 Subject: [PATCH] Eeschema, ERC: fix missing call to subgraph->ResolveDrivers() when test driver conflicts (more than one name for a net) is disabled. This missing call was creating issues in tests that need a full connection calculation, especially ercCheckFloatingWires() --- eeschema/connection_graph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/connection_graph.cpp b/eeschema/connection_graph.cpp index f5f3b194a5..6779fa2533 100644 --- a/eeschema/connection_graph.cpp +++ b/eeschema/connection_graph.cpp @@ -2093,6 +2093,8 @@ int CONNECTION_GRAPH::RunERC() if( !subgraph->ResolveDrivers( true ) ) error_count++; } + else + subgraph->ResolveDrivers( false ); if( settings.IsTestEnabled( ERCE_BUS_TO_NET_CONFLICT ) ) {