From f1bd9084e096ae378f401ec018dafdc5e447bf08 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 4 Feb 2005 11:08:26 +0000 Subject: [PATCH] PAL7933. enable propagation of local hypotheses assigned to super-shapes --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); } } -- 2.30.2