From 5d52bbfa4bf13659cbcb5228d6bb4418d330f54f Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 8 Jun 2007 13:52:11 +0000 Subject: [PATCH] NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) additionannly bind hypotheses directly to a group --- src/SMESH/SMESH_Mesh.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 0f464bf0f..71ead96eb 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -363,6 +363,10 @@ SMESH_Hypothesis::Hypothesis_Status if ( ret < aBestRet ) aBestRet = ret; } + // bind hypotheses to a group just to know + SMESH_Hypothesis *anHyp = _gen->GetStudyContext(_studyId)->mapHypothesis[anHypId]; + GetMeshDS()->AddHypothesis( aSubShape, anHyp ); + if ( SMESH_Hypothesis::IsStatusFatal( aBestRet )) return aBestRet; return aWorstNotFatal; -- 2.39.2