Don't force disallow tests to a particular layer.
Fixes https://gitlab.com/kicad/code/kicad/issues/7552
This commit is contained in:
parent
4408897b87
commit
015c4d5779
|
@ -77,7 +77,7 @@ bool DRC_TEST_PROVIDER_DISALLOW::Run()
|
|||
[&]( BOARD_ITEM* item )
|
||||
{
|
||||
auto constraint = m_drcEngine->EvalRules( DISALLOW_CONSTRAINT, item, nullptr,
|
||||
item->GetLayer() );
|
||||
UNDEFINED_LAYER );
|
||||
|
||||
if( constraint.m_DisallowFlags )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue