Fem: Call base class handleChangedProperyType function

This commit is contained in:
marioalexis
2024-01-20 12:03:46 -03:00
committed by Chris Hennes
parent 04bc6f8006
commit 336bf03ada
7 changed files with 21 additions and 0 deletions

View File

@@ -80,6 +80,9 @@ void ConstraintForce::handleChangedPropertyType(Base::XMLReader& reader,
// e.g. "2.5" must become 2500 to result in 2.5 N
Force.setValue(ForceProperty.getValue() * 1000);
}
else {
Constraint::handleChangedPropertyType(reader, TypeName, prop);
}
}
void ConstraintForce::onChanged(const App::Property* prop)