From: eap Date: Thu, 13 Oct 2011 05:35:12 +0000 (+0000) Subject: 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm X-Git-Tag: V6_4_0a1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb2db66613558510b962ded77d207f19ab615051;p=modules%2Fsmesh.git 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm fix for projection of a group --- diff --git a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx index 605396428..02ec4a9aa 100644 --- a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx @@ -100,8 +100,8 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape int edgeID = meshDS->ShapeToIndex( wires[ iWire ]->Edge(0) ); for ( size_t i = 1; i < nodes.size(); ++i ) { - if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i]) - continue; + if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i])) + continue; SMDS_MeshElement* e = meshDS->AddEdge( nodes[i-1], nodes[i] ); if ( nodes[i-1]->getshapeId() != edgeID && nodes[i ]->getshapeId() != edgeID )