// clear collected submeshes
set<const SMESH_subMesh*>::iterator clrIt = subMeshToClear.begin();
- for ( ; clrIt != subMeshToClear.end(); clrIt++ ) {
- SMESH_subMesh* sm = (SMESH_subMesh*)*clrIt;
- if ( sm )
- sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
- // ClearSubMesh( *clrIt );
- }
+ for ( ; clrIt != subMeshToClear.end(); clrIt++ )
+ if ( SMESH_subMesh* sm = (SMESH_subMesh*)*clrIt )
+ sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
}
aPythonDump << " ])";