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:
Jeff Young
2023-04-15 12:18:41 +01:00
parent 27ebba6b33
commit 521aa5b5ae
7 changed files with 34 additions and 26 deletions
@@ -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();