0021542: EDF 1699 SMESH: Reorient a group of faces

Fix ("In non-manifold mesh, orient co-directed faces only")
This commit is contained in:
eap 2012-11-19 12:38:27 +00:00
parent ca78207ff3
commit 93f0557a04

View File

@ -1207,6 +1207,10 @@ int SMESH_MeshEditor::Reorient2D (TIDSortedElemSet & theFaces,
} }
} }
} }
else if ( facesNearLink.size() == 1 )
{
otherFace = facesNearLink[0];
}
if ( otherFace && otherFace != theFace) if ( otherFace && otherFace != theFace)
{ {
// link must be reverse in otherFace if orientation ot otherFace // link must be reverse in otherFace if orientation ot otherFace