From: eap Date: Wed, 13 Jun 2007 12:24:12 +0000 (+0000) Subject: NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) X-Git-Tag: V3_2_7~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79e52df769e9c5ab3263a8c28235b94fc0ae8cbb;p=modules%2Fsmesh.git NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) remove hypotheses directly added to a geom group --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 71ead96eb..42b293092 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -470,6 +470,9 @@ SMESH_Hypothesis::Hypothesis_Status if ( ret < aBestRet ) aBestRet = ret; } + SMESH_Hypothesis *anHyp = _gen->GetStudyContext(_studyId)->mapHypothesis[anHypId]; + GetMeshDS()->RemoveHypothesis( aSubShape, anHyp ); + if ( SMESH_Hypothesis::IsStatusFatal( aBestRet )) return aBestRet; return aWorstNotFatal;