Don't call GetLayer() on a multi-layer object.
This commit is contained in:
parent
cdd3fd416e
commit
1fc99dd2c0
|
@ -89,7 +89,7 @@ bool DRC_TEST_PROVIDER_DISALLOW::Run()
|
|||
drcItem->SetItems( item );
|
||||
drcItem->SetViolatingRule( constraint.GetParentRule() );
|
||||
|
||||
reportViolation( drcItem, item->GetPosition(), item->GetLayer() );
|
||||
reportViolation( drcItem, item->GetPosition(), item->GetLayerSet().Seq()[0] );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue