0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

fix for projection of a group
This commit is contained in:
eap 2011-10-13 05:35:12 +00:00
parent 669d7d6d0f
commit bb2db66613

View File

@ -100,7 +100,7 @@ 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])
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 &&