Don't pre-scale the line width

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11122


(cherry picked from commit d74a0cdaa3)
This commit is contained in:
Marek Roszko 2022-03-13 23:06:26 -04:00 committed by Mark Roszko
parent 70514be11f
commit 40462012ee
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ bool DIALOG_IMPORT_GFX::TransferDataFromWindow()
// The line width is meant to be in pcbnew units, so we scale the import width before
// applying
m_importer->SetLineWidthMM( m_lineWidth * m_scaleImport );
m_importer->SetLineWidthMM( m_lineWidth );
m_importer->SetPlugin( std::move( plugin ) );
LOCALE_IO dummy; // Ensure floats can be read.