mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Rule areas should be allowed on user layers.
Non-board tech layers too. We don't know how people will write their custom DRC rules. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17034 (cherry picked from commit 01d668c09d5b2d9c13cc918b38a1b5e141f45230)
This commit is contained in:
parent
7b17646b71
commit
dfd97003ac
@ -138,7 +138,7 @@ DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES( PCB_BASE_FRAME* aParen
|
||||
m_isFpEditor = m_parent->IsType( FRAME_FOOTPRINT_EDITOR );
|
||||
|
||||
BOARD* board = m_parent->GetBoard();
|
||||
LSET layers = LSET::AllBoardTechMask() | LSET::AllCuMask( board->GetCopperLayerCount() );
|
||||
LSET layers = LSET::AllNonCuMask() | LSET::AllCuMask( board->GetCopperLayerCount() );
|
||||
|
||||
m_zonesettings.SetupLayersList( m_layers, m_parent, layers, m_isFpEditor );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user