Salome HOME
0021564: EDF 456 SMESH: Regression in projection 2D algorithm
authoreap <eap@opencascade.com>
Thu, 26 Apr 2012 11:46:56 +0000 (11:46 +0000)
committereap <eap@opencascade.com>
Thu, 26 Apr 2012 11:46:56 +0000 (11:46 +0000)
  kill a bug born at replacement of TopTools_DataMapOfShapeShape with
StdMeshers_ShapeShapeBiDirectionMap in the frames of PAL22863

src/StdMeshers/StdMeshers_ProjectionUtils.cxx

index c029af6c15e6860e7e37d75ae77a9fa0cdc6a61f..3053be90d22bce6d95db37e677127ed460366d0f 100644 (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();
           }