From 6e9a9249d61505f65f81340684b2070bde5e85cd Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 7 Nov 2011 10:24:32 +0000 Subject: [PATCH] 0016202: EDF 465 SMESH : Propagation 1D on edges group fix scale distribution --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index bedf3692c..f075e0f03 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -691,7 +691,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh & theMesh, list::iterator u = theParams.begin(), uEnd = theParams.end(); for ( ; u != uEnd; ++u ) { - GCPnts_AbscissaPoint Discret( theC3d, (*u) * lenFactor, f ); + GCPnts_AbscissaPoint Discret( theC3d, ((*u)-f) * lenFactor, f ); if ( Discret.IsDone() ) *u = Discret.Parameter(); } -- 2.39.2