]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_Mesh.cxx
Salome HOME
Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing...
[modules/smesh.git] / src / SMESH / SMESH_Mesh.cxx
index 4e61d614ca0fbbe584a8b39aa51af6b8259f0566..5eed73dbd77a1e2e9a820330cbd92d143404fead 100644 (file)
@@ -1096,7 +1096,7 @@ bool SMESH_Mesh::HasModificationsToDiscard() const
         return true;
     }
 
-  if ( !hasComputed )
+  if ( NbNodes() < 1 )
     const_cast<SMESH_Mesh*>(this)->_isModified = false;
 
   return false;