Don't check for board edge collision on castellated pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/10970
This commit is contained in:
parent
c34dc13a8e
commit
2ec21c7720
|
@ -231,6 +231,12 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run()
|
|||
if( isInvisibleText( item ) )
|
||||
return true; // Continue with other items
|
||||
|
||||
if( item->Type() == PCB_PAD_T
|
||||
&& static_cast<PAD*>( item )->GetProperty() == PAD_PROP::CASTELLATED )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::shared_ptr<SHAPE>& itemShape = item->GetEffectiveShape();
|
||||
|
||||
for( PCB_LAYER_ID testLayer : { Edge_Cuts, Margin } )
|
||||
|
|
|
@ -336,7 +336,6 @@ public:
|
|||
*/
|
||||
void SetOrientation( const EDA_ANGLE& aAngle );
|
||||
|
||||
|
||||
/**
|
||||
* Return the rotation angle of the pad.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue