Browse Source

Don't merge subgraphs by matching sheet pin names

pull/15/head
Jon Evans 7 years ago
parent
commit
019f63cd95
  1. 7
      eeschema/connection_graph.cpp

7
eeschema/connection_graph.cpp

@ -1176,6 +1176,10 @@ void CONNECTION_GRAPH::buildConnectionGraph()
if( driver == candidate->m_driver )
continue;
// Sheet pins are not candidates for merging
if( driver->Type() == SCH_SHEET_PIN_T )
continue;
if( driver->Type() == SCH_PIN_T )
{
if( static_cast<SCH_PIN*>( driver )->GetName() == test_name )
@ -1188,8 +1192,7 @@ void CONNECTION_GRAPH::buildConnectionGraph()
{
wxASSERT( driver->Type() == SCH_LABEL_T ||
driver->Type() == SCH_GLOBAL_LABEL_T ||
driver->Type() == SCH_HIER_LABEL_T ||
driver->Type() == SCH_SHEET_PIN_T );
driver->Type() == SCH_HIER_LABEL_T );
auto text = static_cast<SCH_TEXT*>( driver );

Loading…
Cancel
Save