Update DRC exclusions model to match terminology.
DRC exclusions were originally written following the C++ pragma model (ie: allow this violation here). However, the "exclusion" terminology we used in the GUI suggests a model model where the exclusions go away when the violation no longer exists. Fixes https://gitlab.com/kicad/code/kicad/issues/14351
This commit is contained in:
@@ -183,7 +183,7 @@ BOARD* LoadBoard( wxString& aFileName, IO_MGR::PCB_FILE_T aFormat )
|
||||
// Best efforts...
|
||||
}
|
||||
|
||||
for( PCB_MARKER* marker : brd->ResolveDRCExclusions() )
|
||||
for( PCB_MARKER* marker : brd->ResolveDRCExclusions( true ) )
|
||||
brd->Add( marker );
|
||||
|
||||
brd->BuildConnectivity();
|
||||
|
||||
Reference in New Issue
Block a user