From: eap Date: Sat, 28 Apr 2012 09:58:43 +0000 (+0000) Subject: regression of SMESH_TEST/Grids/smesh/imps/H5 X-Git-Tag: V6_5_0b1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c1cdbd912a1ddbd4eebed00187c4904c74f59743;p=modules%2Fsmesh.git regression of SMESH_TEST/Grids/smesh/imps/H5 Fix Evaulate() after replacing TopTools_DataMapOfShapeShape with StdMeshers_ShapeShapeBiDirectionMap --- 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)); }