mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 01:10:34 +05:00
0020918: EDF 1447 SMESH: Mesh common borders
In Clear() + sm->ComputeSubMeshStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); + sm->ComputeSubMeshStateEngine( SMESH_subMesh::CLEAN );
This commit is contained in:
parent
c436aeb8a5
commit
48f2666c4d
@ -265,14 +265,12 @@ void SMESH_Mesh::Clear()
|
|||||||
_myMeshDS->ClearMesh();
|
_myMeshDS->ClearMesh();
|
||||||
|
|
||||||
// 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,
|
{
|
||||||
/*complexShapeFirst=*/true);
|
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||||
while ( smIt->more() ) {
|
sm->ComputeSubMeshStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||||
sm = smIt->next();
|
sm->ComputeStateEngine( SMESH_subMesh::CLEAN ); // for event listeners (issue 0020918)
|
||||||
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
sm->ComputeSubMeshStateEngine( SMESH_subMesh::CLEAN );
|
||||||
sm->ComputeStateEngine( SMESH_subMesh::CLEAN ); // for event listeners (issue 0020918)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
_isModified = false;
|
_isModified = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user