]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
authoreap <eap@opencascade.com>
Wed, 13 Jun 2007 12:24:12 +0000 (12:24 +0000)
committereap <eap@opencascade.com>
Wed, 13 Jun 2007 12:24:12 +0000 (12:24 +0000)
   remove hypotheses directly added to a geom group

src/SMESH/SMESH_Mesh.cxx

index 71ead96eb191d271f4e4bcf79fe159f92df0b5e0..42b293092c641df7b2f933aa3bfe9f2983e42e82 100644 (file)
@@ -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;