Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing" discussion

This commit is contained in:
eap 2011-08-19 12:36:55 +00:00
parent e8367fb018
commit c267141b79

View 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;