mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-11 12:30:14 +00:00
Use "microns" as the name to be consistent with DXF specification
This commit is contained in:
parent
88bee5e32f
commit
f5e9a2a6da
pcbnew/import_gfx
@ -787,7 +787,7 @@ double DXF_IMPORT_PLUGIN::getCurrentUnitScale()
|
||||
scale = 1.0e-6;
|
||||
break;
|
||||
|
||||
case DXF_IMPORT_UNITS::MICROMETERS:
|
||||
case DXF_IMPORT_UNITS::MICRONS:
|
||||
scale = 1.0e-3;
|
||||
break;
|
||||
|
||||
@ -873,7 +873,7 @@ void DXF_IMPORT_PLUGIN::setVariableInt( const std::string& key, int value, int c
|
||||
break;
|
||||
|
||||
case 13: // micrometers
|
||||
m_currentUnit = DXF_IMPORT_UNITS::MICROMETERS;
|
||||
m_currentUnit = DXF_IMPORT_UNITS::MICRONS;
|
||||
break;
|
||||
|
||||
case 14: // decimeters
|
||||
|
@ -147,7 +147,7 @@ enum class DXF_IMPORT_UNITS
|
||||
YARDS = 10,
|
||||
ANGSTROMS = 11,
|
||||
NANOMETERS = 12,
|
||||
MICROMETERS = 13,
|
||||
MICRONS = 13,
|
||||
DECIMETERS = 14,
|
||||
DECAMETERS = 15,
|
||||
HECTOMETERS = 16,
|
||||
|
Loading…
Reference in New Issue
Block a user