From: eap Date: Mon, 16 May 2011 14:22:31 +0000 (+0000) Subject: 0021263: EDF 1868: Several use cases fail (regressions) X-Git-Tag: V6_3_0b2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5ffcb1f56c09c629d6156cb7ff199eff75e02c9;p=plugins%2Fnetgenplugin.git 0021263: EDF 1868: Several use cases fail (regressions) - while ( !SMESH_Algo::VertexNode( TopExp::FirstVertex( edges.front(), 1), helper.GetMeshDS()) + while ( !SMESH_Algo::VertexNode( SMESH_MesherHelper::IthVertex( 0, edges.front()), helper.GetMeshDS()) --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 87ab316..311f051 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -468,7 +468,7 @@ namespace { // assure that the 1st vertex is meshed TopoDS_Edge eLast = edges.back(); - while ( !SMESH_Algo::VertexNode( TopExp::FirstVertex( edges.front(), 1), helper.GetMeshDS()) + while ( !SMESH_Algo::VertexNode( SMESH_MesherHelper::IthVertex( 0, edges.front()), helper.GetMeshDS()) && edges.front() != eLast ) edges.splice( edges.end(), edges, edges.begin() );