mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-25 04:02:03 +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 )
|
if ( shapeType == TopAbs_VERTEX || shapeType < TopAbs_SOLID )
|
||||||
// all other shapes depends on vertices so they are already cleaned
|
// all other shapes depends on vertices so they are already cleaned
|
||||||
sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
|
sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
|
||||||
|
// to recompute even if failed
|
||||||
|
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user