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:
parent
a2b6f63801
commit
e69a95126a
@ -130,7 +130,7 @@ LSET BOARD_ITEM::BoardLayerSet() const
|
||||
const BOARD* board = GetBoard();
|
||||
|
||||
if( board )
|
||||
return board->GetLayerSet();
|
||||
return board->GetEnabledLayers();
|
||||
|
||||
return LSET::AllLayersMask();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user