Base: [skip ci] fix scale factor in unit schemes

This commit is contained in:
wmayer
2022-08-24 11:24:52 +02:00
parent b74148fdd0
commit c538824309
2 changed files with 2 additions and 6 deletions

View File

@@ -437,9 +437,7 @@ QString UnitsSchemaInternal::schemaTranslate(const Quantity &quant, double &fact
}
else if (unit == Unit::VacuumPermittivity) {
unitString = QString::fromLatin1("F/m");
// FIXME: this should be 1e-9 because unit has L^-3
// see also https://github.com/FreeCAD/FreeCAD/commit/9db5dff7#r81159352
factor = 1;
factor = 1e-9;
}
else if (unit == Unit::Frequency) {
if (UnitValue < 1e3) {