From 338099925d2bc24b835a5a992bc94269a6a29913 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 26 Apr 2012 11:46:56 +0000 Subject: [PATCH] 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 --- src/StdMeshers/StdMeshers_ProjectionUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx index c029af6c1..3053be90d 100644 --- a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx @@ -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(); } -- 2.39.2