Use "microns" as the name to be consistent with DXF specification

This commit is contained in:
Marek Roszko 2020-11-22 15:44:57 -05:00
parent 88bee5e32f
commit f5e9a2a6da
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,