diff --git a/pcbnew/drc/drc_rtree.h b/pcbnew/drc/drc_rtree.h index cf4a3b1b17..ac93e71022 100644 --- a/pcbnew/drc/drc_rtree.h +++ b/pcbnew/drc/drc_rtree.h @@ -159,7 +159,6 @@ public: m_tree[aTargetLayer]->Insert( mmin, mmax, itemShape ); m_count++; - } } diff --git a/pcbnew/pcb_io/altium/altium_pcb.cpp b/pcbnew/pcb_io/altium/altium_pcb.cpp index 6c98675d0f..928808130d 100644 --- a/pcbnew/pcb_io/altium/altium_pcb.cpp +++ b/pcbnew/pcb_io/altium/altium_pcb.cpp @@ -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() ); } diff --git a/pcbnew/tools/pcb_grid_helper.cpp b/pcbnew/tools/pcb_grid_helper.cpp index a0464269de..75395db47f 100644 --- a/pcbnew/tools/pcb_grid_helper.cpp +++ b/pcbnew/tools/pcb_grid_helper.cpp @@ -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();