This commit is contained in:
eap 2010-11-15 10:54:52 +00:00
parent 80ccf6a58d
commit d94954d46e

View File

@ -267,7 +267,7 @@ void SMESH_Mesh::Clear()
// update compute state of submeshes // update compute state of submeshes
if ( SMESH_subMesh *sm = GetSubMeshContaining( GetShapeToMesh() ) ) { if ( SMESH_subMesh *sm = GetSubMeshContaining( GetShapeToMesh() ) ) {
SMESH_subMeshIteratorPtr smIt = sm->getDependsOnIterator(/*includeSelf=*/true, SMESH_subMeshIteratorPtr smIt = sm->getDependsOnIterator(/*includeSelf=*/true,
/*complexShapeFirst=*/false); /*complexShapeFirst=*/true);
while ( smIt->more() ) { while ( smIt->more() ) {
sm = smIt->next(); sm = smIt->next();
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );