mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 06:30:32 +05:00
Assure re-compute after "Clear Mesh data" if there was computation failure
This commit is contained in:
parent
b471fad098
commit
09c536b7fe
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user