Files
Seth Hillbrand 18575df311 Use GetType() for pin alternate electrical type queries
When a pin has an alternate function selected, GetType() correctly
returns the alternate's type. However, GetCanonicalElectricalTypeName(),
GetElectricalTypeName(), and PlotPinType() were accessing m_type directly,
bypassing the alternate type lookup. This caused netlist exports to show
the wrong pin type (e.g., "no_connect" instead of "power_in") and the
NC symbol to be drawn incorrectly when alternates changed the pin type.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22286

(cherry picked from commit 25430cfbb8)
2026-02-05 23:01:37 -08:00
..
2026-02-05 23:01:36 -08:00
2026-02-05 23:01:36 -08:00
2026-02-05 23:01:36 -08:00
2022-09-09 17:21:57 -07:00
2022-09-09 17:21:57 -07:00
2022-09-09 17:21:57 -07:00
2022-09-09 17:21:57 -07:00
2023-01-21 19:32:25 +00:00