From 79e52df769e9c5ab3263a8c28235b94fc0ae8cbb Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 13 Jun 2007 12:24:12 +0000 Subject: [PATCH] NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation) remove hypotheses directly added to a geom group --- src/SMESH/SMESH_Mesh.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2