diff --git a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx index d63d2e6f2..87b8e797e 100644 --- a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx +++ b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx @@ -220,6 +220,9 @@ bool StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh myTool = new StdMeshers_Helper(aMesh); _quadraticMesh = myTool->IsQuadraticSubMesh(aShape); + if ( _quadraticMesh && _hypLengthFromEdges ) + _edgeLength *= 2.; + myOuterWire = BRepTools::OuterWire(F); nbpnt += NumberOfPoints(aMesh, myOuterWire); if ( nbpnt < 3 ) { // ex: a circle with 2 segments