Similar local labels on different sheets are fine

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334

(cherry picked from commit 3eb66e1b3d)
This commit is contained in:
Jeff Young
2025-08-01 17:40:04 +01:00
parent 6867a77da0
commit d88e5972e7
+7
View File
@@ -1347,6 +1347,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;
}