From: eap Date: Fri, 4 Feb 2005 11:08:26 +0000 (+0000) Subject: PAL7933. enable propagation of local hypotheses assigned to super-shapes X-Git-Tag: V2_2_0b4~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1bd9084e096ae378f401ec018dafdc5e447bf08;p=modules%2Fsmesh.git PAL7933. enable propagation of local hypotheses assigned to super-shapes --- 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(); } }