Salome HOME
Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing...
authoreap <eap@opencascade.com>
Fri, 19 Aug 2011 12:36:55 +0000 (12:36 +0000)
committereap <eap@opencascade.com>
Fri, 19 Aug 2011 12:36:55 +0000 (12:36 +0000)
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;