mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
PAL13615 (meshing of a "5 edges quadrangle")
avoid re-meshing of edges without mesh elements of a quadrangle side
This commit is contained in:
parent
608c27e671
commit
7ed7e0e32a
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user