Via properties: apply microvia settings to microvias
This commit is contained in:
parent
532a5fb827
commit
260b0f6b5f
|
@ -289,8 +289,23 @@ bool DIALOG_TRACK_VIA_PROPERTIES::Apply()
|
|||
|
||||
if( m_viaNetclass->IsChecked() )
|
||||
{
|
||||
v->SetWidth( v->GetNetClass()->GetViaDiameter() );
|
||||
v->SetDrill( v->GetNetClass()->GetViaDrill() );
|
||||
switch( v->GetViaType() )
|
||||
{
|
||||
default:
|
||||
wxFAIL_MSG("Unhandled via type");
|
||||
// fall through
|
||||
|
||||
case VIA_THROUGH:
|
||||
case VIA_BLIND_BURIED:
|
||||
v->SetWidth( v->GetNetClass()->GetViaDiameter() );
|
||||
v->SetDrill( v->GetNetClass()->GetViaDrill() );
|
||||
break;
|
||||
|
||||
case VIA_MICROVIA:
|
||||
v->SetWidth( v->GetNetClass()->GetuViaDiameter() );
|
||||
v->SetDrill( v->GetNetClass()->GetuViaDrill() );
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue