CHANGED netclass assignments now done via canvas or via patterns.

This commit is contained in:
Jeff Young
2022-08-14 22:56:29 +01:00
parent 18ac169ac7
commit a9536b5de9
82 changed files with 2489 additions and 2610 deletions
+3 -3
View File
@@ -42,7 +42,7 @@ void PCB_EDIT_FRAME::SetTrackSegmentWidth( PCB_TRACK* aTrackItem,
initial_width = aTrackItem->GetWidth();
if( aUseNetclassValue )
new_width = aTrackItem->GetNetClass()->GetTrackWidth();
new_width = aTrackItem->GetEffectiveNetClass()->GetTrackWidth();
else
new_width = GetDesignSettings().GetCurrentTrackWidth();
@@ -55,8 +55,8 @@ void PCB_EDIT_FRAME::SetTrackSegmentWidth( PCB_TRACK* aTrackItem,
if( aUseNetclassValue || via->GetViaType() == VIATYPE::MICROVIA )
{
new_width = aTrackItem->GetNetClass()->GetViaDiameter();
new_drill = aTrackItem->GetNetClass()->GetViaDrill();
new_width = aTrackItem->GetEffectiveNetClass()->GetViaDiameter();
new_drill = aTrackItem->GetEffectiveNetClass()->GetViaDrill();
}
else
{