7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 21:43:43 +00:00

Use correct API in BoardLayerSet

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19395
This commit is contained in:
Jon Evans 2024-12-28 08:03:35 -05:00
parent a2b6f63801
commit e69a95126a

View File

@ -130,7 +130,7 @@ LSET BOARD_ITEM::BoardLayerSet() const
const BOARD* board = GetBoard();
if( board )
return board->GetLayerSet();
return board->GetEnabledLayers();
return LSET::AllLayersMask();
}