X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Projection_1D2D.cxx;h=fcc6f413fed446c546064d2c9f7f8766652bd35b;hp=607efdfa64ce7894535018ebb4e31feb132f7ff7;hb=b7a7d49664daa32e1befb558280e13ed0bde37c9;hpb=7a3ecab720cc517ace17c5c4677fd3c20c0051ee diff --git a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx index 607efdfa6..fcc6f413f 100644 --- a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx @@ -140,7 +140,7 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape { const SMDS_MeshElement* f = fIt->next(); //if ( !f->IsQuadratic() ) continue; - nodes.assign( SMDS_MeshElement::iterator( f->interlacedNodesElemIterator() ), + nodes.assign( SMDS_MeshElement::iterator( f->interlacedNodesIterator() ), SMDS_MeshElement::iterator() ); nodes.push_back( nodes[0] ); for ( size_t i = 2; i < nodes.size(); i += 2 ) @@ -149,8 +149,8 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape if ( idType.second == TopAbs_EDGE && idType.first != nodes[i-1]->getshapeId() ) { - faceSubMesh->RemoveNode( nodes[i-1], /*isDeleted=*/false ); - meshDS->SetNodeOnEdge( (SMDS_MeshNode*) nodes[i-1], idType.first ); + faceSubMesh->RemoveNode( nodes[i-1] ); + meshDS->SetNodeOnEdge( nodes[i-1], idType.first ); posFixer.SetSubShape( idType.first ); posFixer.CheckNodeU( TopoDS::Edge( posFixer.GetSubShape() ), nodes[i-1], dummyU=0., tol, /*force=*/true );