From f802df57ecb4dc4f0f6b7b1b13a073bf1b0b7854 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 16 May 2018 17:20:50 +0300 Subject: [PATCH] Do not use double spin box for deflection because the default deflection is too small for spin box precision --- src/ModelAPI/ModelAPI_Session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModelAPI/ModelAPI_Session.cpp b/src/ModelAPI/ModelAPI_Session.cpp index b079468f3..3d5a95917 100644 --- a/src/ModelAPI/ModelAPI_Session.cpp +++ b/src/ModelAPI/ModelAPI_Session.cpp @@ -73,12 +73,12 @@ std::shared_ptr ModelAPI_Session::get() Config_PropManager::registerProp("Visualization", "body_deflection", "Body deflection coefficient", - Config_Prop::DblSpin, + Config_Prop::Double, ModelAPI_ResultBody::DEFAULT_DEFLECTION()); Config_PropManager::registerProp("Visualization", "construction_deflection", "Construction deflection coefficient", - Config_Prop::DblSpin, + Config_Prop::Double, ModelAPI_ResultConstruction::DEFAULT_DEFLECTION()); } -- 2.39.2