0021564: EDF 456 SMESH: Regression in projection 2D algorithm

kill a bug born at replacement of TopTools_DataMapOfShapeShape with
StdMeshers_ShapeShapeBiDirectionMap in the frames of PAL22863
This commit is contained in:
eap 2012-04-26 11:46:56 +00:00
parent d0941c6314
commit 338099925d

View File

@ -337,7 +337,7 @@ namespace {
ancestIt.Initialize( theMesh.GetAncestors( edge2 ) );
for ( ; ancestIt.More() && face2.IsNull(); ancestIt.Next() ) {
if ( ancestIt.Value().ShapeType() == TopAbs_FACE &&
!theMap.IsBound( ancestIt.Value() ) &&
!theMap.IsBound( ancestIt.Value(), /*is2nd=*/true ) &&
subshapes2.Contains( ancestIt.Value() ))
face2 = ancestIt.Value();
}