diff --git a/src/Mod/Import/App/dxf/dxf.cpp b/src/Mod/Import/App/dxf/dxf.cpp index b91f17fe3c..2d17575b7d 100644 --- a/src/Mod/Import/App/dxf/dxf.cpp +++ b/src/Mod/Import/App/dxf/dxf.cpp @@ -2413,6 +2413,9 @@ bool CDxfRead::ReadUnits() int n = 0; if (sscanf(m_record_data, "%d", &n) == 1) { m_eUnits = eDxfUnits_t(n); + if (m_eUnits != eUnspecified) { + m_measurement_inch = false; // prioritize INSUNITS over MEASUREMENT variable + } return (true); } // End if - then else {