Base: [skip ci] fix scale factor in unit schemes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user