Browse Source

Formatting.

6.0.7
Jeff Young 5 years ago
parent
commit
07aea4339d
  1. 4
      pcbnew/dialogs/dialog_create_array.cpp
  2. 4
      pcbnew/import_gfx/dialog_import_gfx.cpp

4
pcbnew/dialogs/dialog_create_array.cpp

@ -386,8 +386,8 @@ bool DIALOG_CREATE_ARRAY::TransferDataFromWindow()
newCirc->m_centre.x = m_hCentre.GetValue();
newCirc->m_centre.y = m_vCentre.GetValue();
newCirc->m_angle =
DoubleValueFromString( EDA_UNITS::DEGREES, m_entryCircAngle->GetValue() );
newCirc->m_angle = DoubleValueFromString( EDA_UNITS::DEGREES,
m_entryCircAngle->GetValue() );
ok = ok && validateLongEntry(*m_entryCircCount, newCirc->m_nPts, _("point count"), errors);

4
pcbnew/import_gfx/dialog_import_gfx.cpp

@ -312,8 +312,8 @@ bool DIALOG_IMPORT_GFX::TransferDataFromWindow()
// Set coordinates offset for import (offset is given in mm)
m_importer->SetImportOffsetMM( m_origin );
m_scaleImport =
DoubleValueFromString( EDA_UNITS::UNSCALED, m_textCtrlImportScale->GetValue() );
m_scaleImport = DoubleValueFromString( EDA_UNITS::UNSCALED,
m_textCtrlImportScale->GetValue() );
// The line width is meant to be in pcbnew units, so we scale the import width before
// applying

Loading…
Cancel
Save