Browse Source

Fix netlist changes netnames randomly when netnames come from power pins invisible connected together but having different names.

pull/7/head
jean-pierre charras 10 years ago
parent
commit
545d127a1c
  1. 2
      eeschema/netlist.cpp

2
eeschema/netlist.cpp

@ -426,7 +426,7 @@ static bool evalLabelsPriority( const NETLIST_OBJECT* aLabel1,
// and for a given path length, by alphabetic order
if( aLabel1->m_Type == NET_PINLABEL || aLabel1->m_Type == NET_GLOBLABEL )
return aLabel1->m_Label.Cmp( aLabel2->m_Label );
return aLabel1->m_Label.Cmp( aLabel2->m_Label ) < 0;
// not global: names are prefixed by their sheetpath
// use name defined in higher hierarchical sheet

Loading…
Cancel
Save