Fem: Set Scale in TaskFemConstraint base class

This commit is contained in:
marioalexis
2024-06-20 15:20:54 -03:00
parent 01d1b29cc7
commit 5548ba1c59
14 changed files with 8 additions and 83 deletions

View File

@@ -340,11 +340,6 @@ bool TaskDlgFemConstraintSpring::accept()
"App.ActiveDocument.%s.ElmerStiffness = '%s'",
name.c_str(),
parameterStiffness->getElmerStiffness().c_str());
std::string scale = parameterStiffness->getScale(); // OvG: determine modified scale
Gui::Command::doCommand(Gui::Command::Doc,
"App.ActiveDocument.%s.Scale = %s",
name.c_str(),
scale.c_str()); // OvG: implement modified scale
}
catch (const Base::Exception& e) {
QMessageBox::warning(parameter, tr("Input error"), QString::fromLatin1(e.what()));