From 2898854b35716aaa26653d212030df2024fdca50 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 20 Apr 2010 13:14:23 +0000 Subject: [PATCH] 0020838: EDF 1369 SMESH : Double elements generated - Fix computeParamByFunc() for case where theReverse=true --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2