From: eap Date: Fri, 8 Jun 2007 13:52:11 +0000 (+0000) Subject: NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) X-Git-Tag: V3_2_7~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5d52bbfa4bf13659cbcb5228d6bb4418d330f54f;p=modules%2Fsmesh.git NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) additionannly bind hypotheses directly to a group --- 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;