X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Regular_1D.cxx;h=020bb2d522933a2b95d3d7592e13b5b53a35be4d;hb=6fae6dddb4668825724fe4f126b48e352df0c18d;hp=bca9e634c91ddb24d8961ae8bce2e45f123f098c;hpb=d8e7d0d7d955c625b4a5a89d22b141375db22c96;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index bca9e634c..020bb2d52 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -505,7 +505,9 @@ const list & StdMeshers_Regular_1D::GetUsedHypothes aMesh.IsPropagatedHypothesis(aShape, _mainEdge)) { // Propagation of 1D hypothesis from on this edge - _usedHypList = GetAppliedHypothesis(aMesh, _mainEdge); // copy + //_usedHypList = GetAppliedHypothesis(aMesh, _mainEdge); // copy + // use a general method in order not to nullify _mainEdge + _usedHypList = SMESH_Algo::GetUsedHypothesis(aMesh, _mainEdge); // copy nbHyp = _usedHypList.size(); } }