From: vsv Date: Wed, 16 May 2018 14:20:50 +0000 (+0300) Subject: Do not use double spin box for deflection because the default deflection is too small... X-Git-Tag: V8_5_0rc2~8^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f802df57ecb4dc4f0f6b7b1b13a073bf1b0b7854;p=modules%2Fshaper.git Do not use double spin box for deflection because the default deflection is too small for spin box precision --- 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()); }