Connectivity: ensure globally-labeled buses are always propagated
Fixes: lp:1822964 * https://bugs.launchpad.net/kicad/+bug/1822964
This commit is contained in:
parent
8d8c743f97
commit
42887544c9
|
@ -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() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue