From 0cd6fa3329a174956a8c1804ffdc7d05a5afa96f Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 13 Apr 2022 02:44:34 +0200 Subject: [PATCH] [skip CI] [FEM] ViewProviderFemPostFunction: add a comment --- src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp index 8169fedc2b..271838bebe 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemPostFunction.cpp @@ -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; }