Salome HOME
Fix regressions
[modules/smesh.git] / src / StdMeshers / StdMeshers_Projection_2D.cxx
index a0eb3248fb1ba861a06fbb2dc991c4f69672767e..aef9d82b78a5c5dfae35012aa7e4243884992039 100644 (file)
@@ -553,7 +553,7 @@ namespace {
       const TopoDS_Shape&  srcV = srcExp.Current();
       const TopoDS_Shape&  tgtV = shape2ShapeMap( srcV, /*isSrc=*/true );
       const SMDS_MeshNode* srcN = SMESH_Algo::VertexNode( TopoDS::Vertex( srcV ), srcMeshDS );
-      const SMDS_MeshNode* tgtN = SMESH_Algo::VertexNode( TopoDS::Vertex( tgtV ), srcMeshDS );
+      const SMDS_MeshNode* tgtN = SMESH_Algo::VertexNode( TopoDS::Vertex( tgtV ), tgtMeshDS );
       if ( !srcN )
         continue;
       if ( !tgtN || tgtV.ShapeType() != TopAbs_VERTEX )