[FEM] improve cylinder function

- set better initial position and size
- add misting triggering of ViewProvider
- some code style improvements (fix too long lines, consistency etc.)
This commit is contained in:
Uwe
2023-03-09 05:58:11 +01:00
parent bedfd8f743
commit 1bfaa6965b
4 changed files with 18 additions and 11 deletions

View File

@@ -99,6 +99,13 @@ void FemPostCylinderFunction::onChanged(const Property* prop)
Fem::FemPostFunction::onChanged(prop);
}
void FemPostCylinderFunction::onDocumentRestored()
{
// This is to notify the view provider that the document has been fully restored
Axis.touch();
}
// ***************************************************************************
// plane function
PROPERTY_SOURCE(Fem::FemPostPlaneFunction, Fem::FemPostFunction)