]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
authoreap <eap@opencascade.com>
Fri, 24 Dec 2010 11:47:57 +0000 (11:47 +0000)
committereap <eap@opencascade.com>
Fri, 24 Dec 2010 11:47:57 +0000 (11:47 +0000)
-      h->SetStretchFactor ( params[2].myValue.toInt() );
+      h->SetStretchFactor ( params[2].myValue.toDouble() );

src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx

index 1cd4f9f94d5ee0f045ca15d309feafa08d066828..562d1f7378d6027a6896009c40eebe7adb79d1fe 100644 (file)
@@ -675,7 +675,7 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
       /*  */ h->SetParameters(aVariablesList.join(":").toLatin1().constData());
       h->SetNumberLayers  ( params[1].myValue.toInt() );
       /*  */ h->SetParameters(aVariablesList.join(":").toLatin1().constData());
-      h->SetStretchFactor ( params[2].myValue.toInt() );
+      h->SetStretchFactor ( params[2].myValue.toDouble() );
       /*  */ h->SetParameters(aVariablesList.join(":").toLatin1().constData());
       
       if ( StdMeshersGUI_SubShapeSelectorWdg* idsWg =