Core: SoShapeScale fix weird scaling on viewport resize. See https://github.com/FreeCAD/FreeCAD/issues/18382#issuecomment-2527623758
This commit is contained in:
@@ -92,7 +92,7 @@ void ViewProviderPlane::attach(App::DocumentObject * obj) {
|
||||
noRole = true;
|
||||
}
|
||||
|
||||
static const float size = ViewProviderCoordinateSystem::defaultSize() * 0.6; //NOLINT
|
||||
static const float size = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View")->GetFloat("DatumPlaneSize", 40.0);
|
||||
static const float startSize = 0.25 * size; //NOLINT
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user