Increase artificial via preference further.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16880
This commit is contained in:
parent
82e353deb7
commit
d30361b425
|
@ -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…
Reference in New Issue