kicad-kle-placer
kicad-kle-placer copied to clipboard
fix: Handle Undefined 'first_diode' Variable to Prevent Plugin Crash
This commit fixes a plugin crash from first_diode being undefined even when move_diodes is false.
And also changed:
if not first_diode and relative_diode_mode:
to :
if not first_diode and move_diodes:
That seems to be the correct check?