Browse Source

Similar local labels on different sheets are fine

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334
pull/18/head
Jeff Young 3 months ago
parent
commit
3eb66e1b3d
  1. 7
      eeschema/erc/erc.cpp

7
eeschema/erc/erc.cpp

@ -1349,6 +1349,13 @@ int ERC_TESTER::TestSimilarLabels()
if( unnormalized != otherText )
{
// Similar local labels on different sheets are fine
if( item->Type() == SCH_LABEL_T && otherItem->Type() == SCH_LABEL_T
&& sheet != otherSheet )
{
continue;
}
logError( normalized, label, sheet, otherTuple );
errors += 1;
}

Loading…
Cancel
Save