]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_Mesh.cxx
Salome HOME
Assure re-compute after "Clear Mesh data" if there was computation failure
[modules/smesh.git] / src / SMESH / SMESH_Mesh.cxx
index 07bff87759bad05c2b7ef1ad21e19605999dbd72..497bf99909f5ff056ae8d825e9a96d7940288d8c 100644 (file)
@@ -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 );
     }
   }