mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
ViewGetLayers returns the item layer even if it is invalid. We filter this out at the base and skip items that cannot be displayed in the view. Fixes https://gitlab.com/kicad/code/kicad/-/issues/21368 (cherry picked from commit d538f8d848798f3905ab9664df7e28cf79a1271b)