From d922b42d34a5a01332ce2760dd2b483decc5e7bc Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 5 Apr 2006 09:22:08 +0000 Subject: [PATCH] Fix bug 11411: SMESH_Nut.py mesh computation failed. --- 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 943724e33..5390c0428 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -347,7 +347,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(const TopoDS_Edge& theEdge double f, l; Handle(Geom_Curve) Curve = BRep_Tool::Curve(theEdge, f, l); - GeomAdaptor_Curve C3d(Curve); + GeomAdaptor_Curve C3d (Curve, f, l); double length = EdgeLength(theEdge); -- 2.39.2