]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020838: EDF 1369 SMESH : Double elements generated
authoreap <eap@opencascade.com>
Tue, 20 Apr 2010 13:14:23 +0000 (13:14 +0000)
committereap <eap@opencascade.com>
Tue, 20 Apr 2010 13:14:23 +0000 (13:14 +0000)
- Fix computeParamByFunc() for case where theReverse=true

src/StdMeshers/StdMeshers_Regular_1D.cxx

index f4fa4a18e96020bc26912fcb8ae98d0190737bc6..1e4d85b579319acd20e97743f7cefea0c8e64e0b 100644 (file)
@@ -325,6 +325,8 @@ static bool computeParamByFunc(Adaptor3d_Curve& C3d, double first, double last,
       return false;
     prevU = U;
   }
+  if ( theReverse )
+    theParams.reverse();
   return true;
 }