From c267141b792f59594af84a8bf09645753865ba10 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 19 Aug 2011 12:36:55 +0000 Subject: [PATCH] Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing" discussion --- src/SMESH/SMESH_Mesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2