kicad/pcbnew/python/scripting
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
..
pcb_scripting_tool.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcb_scripting_tool.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcbnew_action_plugins.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcbnew_action_plugins.h More NULL expunging. 2021-07-20 07:27:18 -04:00
pcbnew_footprint_wizards.cpp Remove escaped double-quotes 2021-11-03 17:03:14 -07:00
pcbnew_footprint_wizards.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
pcbnew_scripting.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcbnew_scripting.h
pcbnew_scripting_helpers.cpp DRC scripting: load project from board if possible 2022-01-06 11:51:05 -08:00
pcbnew_scripting_helpers.h Add NewBoard API to allow standalone BOARD creation 2021-11-18 21:43:05 -05:00