mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Similar local labels on different sheets are fine
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334 (cherry picked from commit 3eb66e1b3da5847372f8221a4696a103451fd7e9)
This commit is contained in:
parent
6867a77da0
commit
d88e5972e7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user