kicad/scripting/kicad_pyshell
jean-pierre charras 7a7eee86ce kicad_pyshell/__init_py: avoid loading pcbnew module if the board editor is not open.
It happens when opening the python console from Eeschema.
In this case, and on msys2, Pgm() returns a null pointer because the pcbnew
application is not initialized, and the first call to Pgm()
from a python script crashes Kicad
2021-08-15 15:11:07 +02:00
..
__init__.py kicad_pyshell/__init_py: avoid loading pcbnew module if the board editor is not open. 2021-08-15 15:11:07 +02:00
kicad_pyeditor.py kicad_pyeditor.py: remove useless "import pcbnew" that create issues when created from Eeschema 2021-08-15 12:37:39 +02:00