Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b471fad
)
Assure re-compute after "Clear Mesh data" if there was computation failure
author
eap
<eap@opencascade.com>
Mon, 9 Jun 2008 08:05:23 +0000
(08:05 +0000)
committer
eap
<eap@opencascade.com>
Mon, 9 Jun 2008 08:05:23 +0000
(08:05 +0000)
src/SMESH/SMESH_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index 07bff87759bad05c2b7ef1ad21e19605999dbd72..497bf99909f5ff056ae8d825e9a96d7940288d8c 100644
(file)
--- 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 );
}
}