Maintain width of converted tracks

This commit is contained in:
Seth Hillbrand 2022-03-02 10:45:53 -08:00
parent 7e836ae27a
commit 2fafa55647
1 changed files with 2 additions and 0 deletions

View File

@ -664,6 +664,7 @@ int CONVERT_TOOL::CreateLines( const TOOL_EVENT& aEvent )
track->SetLayer( targetLayer );
track->SetStart( graphic->GetStart() );
track->SetEnd( graphic->GetEnd() );
track->SetWidth( graphic->GetWidth() );
commit.Add( track );
return true;
@ -676,6 +677,7 @@ int CONVERT_TOOL::CreateLines( const TOOL_EVENT& aEvent )
arc->SetStart( graphic->GetStart() );
arc->SetEnd( graphic->GetEnd() );
arc->SetMid( graphic->GetArcMid() );
arc->SetWidth( graphic->GetWidth() );
commit.Add( arc );
return true;