Issue 19292: fix wrong use case

This commit is contained in:
vsr 2009-03-16 16:11:22 +00:00
parent 6b50119c66
commit cb0cec3f05

View File

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