]> 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>
Fri, 8 Jun 2007 13:52:11 +0000 (13:52 +0000)
committereap <eap@opencascade.com>
Fri, 8 Jun 2007 13:52:11 +0000 (13:52 +0000)
   additionannly bind hypotheses directly to a group

src/SMESH/SMESH_Mesh.cxx

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