Salome HOME
Addition and removal of hypotheses modifies the mesh
authoreap <eap@opencascade.com>
Thu, 10 Feb 2011 09:02:43 +0000 (09:02 +0000)
committereap <eap@opencascade.com>
Thu, 10 Feb 2011 09:02:43 +0000 (09:02 +0000)
+  GetMeshDS()->Modified();

src/SMESH/SMESH_Mesh.cxx

index eeba23c89826ac4a7d43911a338198581bd0c79c..5f108cc3bbcd95980cded0c8e5e4b07c7aacde16 100644 (file)
@@ -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;