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

This commit is contained in:
Uwe
2022-04-13 02:44:34 +02:00
parent d4aed4c6bd
commit 6f449fbc12

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;
}