router: Layer switching uses the layer pair settings when placing a through-hole via.

This commit is contained in:
Maciej Suminski 2015-10-05 13:28:32 +02:00
parent 8e08baee10
commit 480cf85102
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ bool ROUTER_TOOL::onViaCommand( VIATYPE_T aType )
case VIA_THROUGH:
sizes.SetViaDiameter( bds.GetCurrentViaSize() );
sizes.SetViaDrill( bds.GetCurrentViaDrill() );
sizes.AddLayerPair( F_Cu, B_Cu );
sizes.AddLayerPair( pairTop, pairBottom );
break;
case VIA_MICROVIA: