Browse Source

Increase artificial via preference further.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16880
newinvert
Jeff Young 2 years ago
parent
commit
d30361b425
  1. 4
      pcbnew/tools/pcb_selection_tool.cpp

4
pcbnew/tools/pcb_selection_tool.cpp

@ -3375,8 +3375,8 @@ void PCB_SELECTION_TOOL::GuessSelectionCandidates( GENERAL_COLLECTOR& aCollector
else if( item->Type() == PCB_VIA_T )
{
// Vias rarely hide other things, and we don't want them deferring to short track
// segments underneath them -- so artificially reduce their size from πr² to 1.5r².
area = (double) SEG::Square( static_cast<PCB_VIA*>( item )->GetDrill() / 2 ) * 1.5;
// segments underneath them -- so artificially reduce their size from πr² to r².
area = (double) SEG::Square( static_cast<PCB_VIA*>( item )->GetDrill() / 2 );
}
else if( item->Type() == PCB_REFERENCE_IMAGE_T )
{

Loading…
Cancel
Save