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