kicad/pcbnew/python
Seth Hillbrand 4f874057ab DRC scripting: load project from board if possible
s_SettingsManager is not always initialized when the WriteDRCReport is
run.  We should first attempt to extract the project from the actual
board being checked.  Failing that, we fall back to the static settings manager and then exit if we don't have a project associated.

Fixes https://gitlab.com/kicad/code/kicad/issues/10221

(cherry picked from commit 78e737b9d8)
2022-01-06 11:51:05 -08:00
..
examples Python script sample: fix compatibility with recent changes in code. 2021-06-15 18:19:58 +02:00
plugins Update python for the pad wxSize switch 2022-01-04 23:28:06 -05:00
scripting DRC scripting: load project from board if possible 2022-01-06 11:51:05 -08:00
swig Fix missing FOOTPRINT cast in swig 2022-01-04 11:09:51 -08:00