mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Issue 19292: fix wrong use case
This commit is contained in:
parent
6b50119c66
commit
cb0cec3f05
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user