From: eap Date: Thu, 10 Feb 2011 09:02:43 +0000 (+0000) Subject: Addition and removal of hypotheses modifies the mesh X-Git-Tag: StartingPortingMED3~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5ac48bcf74c6f5c867bc4c0b16098f27551c624;p=modules%2Fsmesh.git Addition and removal of hypotheses modifies the mesh + GetMeshDS()->Modified(); --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index eeba23c89..5f108cc3b 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -524,6 +524,8 @@ SMESH_Hypothesis::Hypothesis_Status } HasModificationsToDiscard(); // to reset _isModified flag if a mesh becomes empty + GetMeshDS()->Modified(); + if(MYDEBUG) subMesh->DumpAlgoState(true); if(MYDEBUG) SCRUTE(ret); return ret; @@ -597,6 +599,8 @@ SMESH_Hypothesis::Hypothesis_Status HasModificationsToDiscard(); // to reset _isModified flag if mesh become empty + GetMeshDS()->Modified(); + if(MYDEBUG) subMesh->DumpAlgoState(true); if(MYDEBUG) SCRUTE(ret); return ret;