Don't de-conflict subgraphs across sheets

This commit is contained in:
Jon Evans 2019-04-03 21:59:18 -04:00
parent d5990100e1
commit 5a0944e9a0
1 changed files with 3 additions and 0 deletions

View File

@ -812,6 +812,9 @@ void CONNECTION_GRAPH::buildConnectionGraph()
if( candidate == subgraph || !candidate->m_driver || candidate->m_strong_driver ) if( candidate == subgraph || !candidate->m_driver || candidate->m_strong_driver )
continue; continue;
if( candidate->m_sheet != subgraph->m_sheet )
continue;
auto c_conn = candidate->m_driver_connection; auto c_conn = candidate->m_driver_connection;
auto check_name = c_conn->Name(); auto check_name = c_conn->Name();