Don't call GetLayer() on a multi-layer object.
This commit is contained in:
@@ -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] );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user