From bb2db66613558510b962ded77d207f19ab615051 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 13 Oct 2011 05:35:12 +0000 Subject: [PATCH] 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm fix for projection of a group --- src/StdMeshers/StdMeshers_Projection_1D2D.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.2