Salome HOME
regression of SMESH_TEST/Grids/smesh/imps/H5
[modules/smesh.git] / src / StdMeshers / StdMeshers_Projection_1D2D.cxx
index 0857b9f19cff2911641ebaef60a99d66e7350eb8..efe6bf034819dd7a5c7a696f65812988343d9b55 100644 (file)
@@ -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));
     }