From 09c536b7fef13561c826b87d23c7f7960c6df5b3 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 9 Jun 2008 08:05:23 +0000 Subject: [PATCH] Assure re-compute after "Clear Mesh data" if there was computation failure --- src/SMESH/SMESH_Mesh.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 07bff8775..497bf9990 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -223,6 +223,8 @@ void SMESH_Mesh::Clear() if ( shapeType == TopAbs_VERTEX || shapeType < TopAbs_SOLID ) // all other shapes depends on vertices so they are already cleaned sm->ComputeStateEngine( SMESH_subMesh::CLEAN ); + // to recompute even if failed + sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); } } -- 2.39.2