mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
parent
058fb3afa1
commit
1e104d5bd4
@ -1280,11 +1280,17 @@ void CONNECTION_GRAPH::buildConnectionGraph()
|
||||
if( secondary_name == subgraph->m_driver_connection->Name() )
|
||||
continue;
|
||||
|
||||
bool secondary_is_global = CONNECTION_SUBGRAPH::GetDriverPriority( driver )
|
||||
>= CONNECTION_SUBGRAPH::PRIORITY::POWER_PIN;
|
||||
|
||||
for( CONNECTION_SUBGRAPH* candidate : global_subgraphs )
|
||||
{
|
||||
if( candidate == subgraph )
|
||||
continue;
|
||||
|
||||
if( !secondary_is_global && candidate->m_sheet != subgraph->m_sheet )
|
||||
continue;
|
||||
|
||||
SCH_CONNECTION* conn = candidate->m_driver_connection;
|
||||
|
||||
if( conn->Name() == secondary_name )
|
||||
|
Loading…
x
Reference in New Issue
Block a user