From: eap Date: Fri, 19 Aug 2011 12:36:55 +0000 (+0000) Subject: Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing... X-Git-Tag: V6_4_0a1~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c267141b792f59594af84a8bf09645753865ba10;p=modules%2Fsmesh.git Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing" discussion --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 4e61d614c..5eed73dbd 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -1096,7 +1096,7 @@ bool SMESH_Mesh::HasModificationsToDiscard() const return true; } - if ( !hasComputed ) + if ( NbNodes() < 1 ) const_cast(this)->_isModified = false; return false;