Formatting.
This commit is contained in:
parent
e9a1c3032d
commit
2925d63c44
|
@ -159,7 +159,6 @@ public:
|
|||
|
||||
m_tree[aTargetLayer]->Insert( mmin, mmax, itemShape );
|
||||
m_count++;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3289,7 +3289,7 @@ void ALTIUM_PCB::ConvertPads6ToFootprintItemOnCopper( FOOTPRINT* aFootprint, con
|
|||
{
|
||||
// KiCad likes NPTH pads to be the same size & shape as their holes
|
||||
pad->SetShape( pad->GetDrillShape() == PAD_DRILL_SHAPE::CIRCLE ? PAD_SHAPE::CIRCLE
|
||||
: PAD_SHAPE::OVAL );
|
||||
: PAD_SHAPE::OVAL );
|
||||
pad->SetSize( pad->GetDrillSize() );
|
||||
}
|
||||
|
||||
|
|
|
@ -652,8 +652,8 @@ void PCB_GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos
|
|||
}
|
||||
}
|
||||
|
||||
if (aPad->HasHole()) {
|
||||
|
||||
if( aPad->HasHole() )
|
||||
{
|
||||
// Holes are at the pad centre (it's the shape that may be offset)
|
||||
const VECTOR2I hole_pos = aPad->GetPosition();
|
||||
const VECTOR2I hole_size = aPad->GetDrillSize();
|
||||
|
|
Loading…
Reference in New Issue