From: eap Date: Wed, 18 Apr 2007 06:59:54 +0000 (+0000) Subject: PAL13615 (meshing of a "5 edges quadrangle") X-Git-Tag: V3_2_6~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7ed7e0e32ad15be00b0e970a6ee7e967b9a155f3;p=modules%2Fsmesh.git PAL13615 (meshing of a "5 edges quadrangle") avoid re-meshing of edges without mesh elements of a quadrangle side --- diff --git a/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx b/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx index 7c949c527..1820f6fe3 100644 --- a/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx +++ b/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx @@ -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 ); }