From: eap Date: Thu, 26 Apr 2012 11:46:56 +0000 (+0000) Subject: 0021564: EDF 456 SMESH: Regression in projection 2D algorithm X-Git-Tag: TRIPOLI_323~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=338099925d2bc24b835a5a992bc94269a6a29913;p=modules%2Fsmesh.git 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 --- 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(); }