From: eap Date: Tue, 20 Apr 2010 13:14:23 +0000 (+0000) Subject: 0020838: EDF 1369 SMESH : Double elements generated X-Git-Tag: V5_1_4rc1~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2898854b35716aaa26653d212030df2024fdca50;p=modules%2Fsmesh.git 0020838: EDF 1369 SMESH : Double elements generated - Fix computeParamByFunc() for case where theReverse=true --- diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index f4fa4a18e..1e4d85b57 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -325,6 +325,8 @@ static bool computeParamByFunc(Adaptor3d_Curve& C3d, double first, double last, return false; prevU = U; } + if ( theReverse ) + theParams.reverse(); return true; }