]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Issue 19292: fix wrong use case
authorvsr <vsr@opencascade.com>
Mon, 16 Mar 2009 16:11:22 +0000 (16:11 +0000)
committervsr <vsr@opencascade.com>
Mon, 16 Mar 2009 16:11:22 +0000 (16:11 +0000)
src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx

index 42acee19ef87647e07c4c15b2cd38d153a9b7920..42389e90efe923f4a512123b2629c98b4fb568a5 100644 (file)
@@ -815,7 +815,7 @@ bool _QuadFaceGrid::LoadGrid( SMESH_Mesh& mesh )
     TIDSortedElemSet emptySet, avoidSet;
     avoidSet.insert( firstQuad );
     firstQuad = SMESH_MeshEditor::FindFaceInSet( n1down, n2down, emptySet, avoidSet);
-    if ( firstQuad && !faceSubMesh->Contains( firstQuad )) {
+    while ( firstQuad && !faceSubMesh->Contains( firstQuad )) {
       avoidSet.insert( firstQuad );
       firstQuad = SMESH_MeshEditor::FindFaceInSet( n1down, n2down, emptySet, avoidSet);
     }