]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Do not use double spin box for deflection because the default deflection is too small...
authorvsv <vsv@opencascade.com>
Wed, 16 May 2018 14:20:50 +0000 (17:20 +0300)
committervsv <vsv@opencascade.com>
Wed, 16 May 2018 14:20:50 +0000 (17:20 +0300)
src/ModelAPI/ModelAPI_Session.cpp

index b079468f38169dcc0c263bd910946e286275f836..3d5a9591799236facb99edc59e218d634f4367de 100644 (file)
@@ -73,12 +73,12 @@ std::shared_ptr<ModelAPI_Session> 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());
 
   }