From e5ac48bcf74c6f5c867bc4c0b16098f27551c624 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 10 Feb 2011 09:02:43 +0000 Subject: [PATCH] Addition and removal of hypotheses modifies the mesh + GetMeshDS()->Modified(); --- src/SMESH/SMESH_Mesh.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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;