mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Similar local labels on different sheets are fine
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334
This commit is contained in:
parent
15468c86b9
commit
3eb66e1b3d
@ -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…
x
Reference in New Issue
Block a user