Skip to content

Commit 8945bcc

Browse files
committed
Also trim board item layersets.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20063
1 parent da242ec commit 8945bcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pcbnew/drc/drc_test_provider_library_parity.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ bool padNeedsUpdate( const PAD* a, const PAD* b, REPORTER* aReporter )
297297
if( a->GetRemoveUnconnected() )
298298
layerSettingsDiffer |= a->GetKeepTopBottom() != b->GetKeepTopBottom();
299299

300-
if( layerSettingsDiffer || a->GetLayerSet() != getBoardNormalizedLayerSet( b, a->GetBoard() ) )
300+
if( layerSettingsDiffer
301+
|| getBoardNormalizedLayerSet( a, a->GetBoard() ) != getBoardNormalizedLayerSet( b, a->GetBoard() ) )
301302
{
302303
diff = true;
303304

0 commit comments

Comments
 (0)