Connectivity: ensure globally-labeled buses are always propagated

Fixes: lp:1822964
* https://bugs.launchpad.net/kicad/+bug/1822964
This commit is contained in:
Jon Evans 2019-06-05 21:33:13 -04:00
parent 8d8c743f97
commit 42887544c9
1 changed files with 4 additions and 4 deletions

View File

@ -1560,6 +1560,10 @@ void CONNECTION_GRAPH::propagateToNeighbors( CONNECTION_SUBGRAPH* aSubgraph )
}
};
// If we are a bus, we must propagate to local neighbors and then the hierarchy
if( conn->IsBus() )
propagate_bus_neighbors( aSubgraph );
// If we don't have any hier pins (i.e. no children), nothing to do
if( aSubgraph->m_hier_pins.empty() )
{
@ -1578,10 +1582,6 @@ void CONNECTION_GRAPH::propagateToNeighbors( CONNECTION_SUBGRAPH* aSubgraph )
visited.insert( aSubgraph );
// If we are a bus, we must propagate to local neighbors and then the hierarchy
if( conn->IsBus() )
propagate_bus_neighbors( aSubgraph );
wxLogTrace( "CONN", "Propagating %lu (%s) to subsheets",
aSubgraph->m_code, aSubgraph->m_driver_connection->Name() );