Salome HOME
{
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_StdHypothesisCreator.cxx
index df4370d6dcf1ff67e2a1c14741f43b62932e17cd..66976e317e38e1a93460ba751961fcb38348073d 100644 (file)
@@ -448,9 +448,9 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
       StdMeshersGUI_EdgeDirectionParamWdg* w = 
         widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
 
-      h->SetLength( params[0].myValue.toDouble(), true );
+      h->SetStartLength( params[0].myValue.toDouble() );
       h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
-      h->SetLength( params[1].myValue.toDouble(), false );
+      h->SetEndLength( params[1].myValue.toDouble() );
       h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
       if (w) {
        h->SetReversedEdges( w->GetListOfIDs() );
@@ -481,9 +481,9 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
       StdMeshersGUI_EdgeDirectionParamWdg* w = 
         widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
 
-      h->SetLength( params[0].myValue.toDouble(), true );
+      h->SetStartLength( params[0].myValue.toDouble() );
       h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
-      h->SetLength( params[1].myValue.toDouble(), false );
+      h->SetEndLength( params[1].myValue.toDouble() );
       h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
       if (w) {
        h->SetReversedEdges( w->GetListOfIDs() );