[skip CI] [FEM] ViewProviderFemPostFunction: add a comment

This commit is contained in:
Uwe
2022-04-13 02:44:34 +02:00
parent 5ab7d17f67
commit 0cd6fa3329

View File

@@ -269,6 +269,7 @@ bool ViewProviderFemPostFunction::findScaleFactor(double& scale) const
if (bbox.hasVolume()) {
float dx, dy, dz;
bbox.getSize(dx, dy, dz);
// we want the manipulator to have 20 % if the max size of the object
scale = 0.2 * std::max(std::max(dx, dy), dz);
return true;
}