PAL13615 (meshing of a "5 edges quadrangle")

avoid re-meshing of edges without mesh elements of a quadrangle side
This commit is contained in:
eap 2007-04-18 06:59:54 +00:00
parent 608c27e671
commit 7ed7e0e32a

View File

@ -127,7 +127,7 @@ namespace {
sm->SetEventListener( eListener, listenerData, sm );
// add edge submesh to the data
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
if ( !sm->GetComputeState() != SMESH_subMesh::COMPUTE_OK ) {
if ( sm->GetComputeState() != SMESH_subMesh::COMPUTE_OK ) {
sm->SetIsAlwaysComputed( true );
listenerData->mySubMeshes.push_back( sm );
}
@ -137,7 +137,7 @@ namespace {
TopoDS_Vertex V = side.FirstVertex( iE );
sm = side.GetMesh()->GetSubMesh( V );
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
if ( !sm->GetComputeState() != SMESH_subMesh::COMPUTE_OK )
if ( sm->GetComputeState() != SMESH_subMesh::COMPUTE_OK )
sm->SetIsAlwaysComputed( true );
listenerData->mySubMeshes.push_back( sm );
}