From c1cdbd912a1ddbd4eebed00187c4904c74f59743 Mon Sep 17 00:00:00 2001 From: eap Date: Sat, 28 Apr 2012 09:58:43 +0000 Subject: [PATCH] regression of SMESH_TEST/Grids/smesh/imps/H5 Fix Evaulate() after replacing TopTools_DataMapOfShapeShape with StdMeshers_ShapeShapeBiDirectionMap --- src/StdMeshers/StdMeshers_Projection_1D2D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx index 0857b9f19..efe6bf034 100644 --- a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx @@ -232,7 +232,7 @@ bool StdMeshers_Projection_1D2D::Evaluate(SMESH_Mesh& theMesh, if ( aVec.empty() ) return error(COMPERR_BAD_INPUT_MESH,"Source mesh is wrongly evaluated"); } - TopoDS_Shape tgtEdge = shape2ShapeMap( srcSM->GetSubShape() ); + TopoDS_Shape tgtEdge = shape2ShapeMap( srcSM->GetSubShape(), /*isSrc=*/true ); SMESH_subMesh* tgtSM = theMesh.GetSubMesh( tgtEdge ); aResMap.insert(std::make_pair(tgtSM,aVec)); } -- 2.39.2