From: eap Date: Tue, 1 Nov 2011 15:59:20 +0000 (+0000) Subject: 0021411: EDF 2000 SMESH: Netgen 2D fails on shapes meshed with "composite side" in 1D X-Git-Tag: RELIQUAT_6x_15112011~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54164acc79e8c83c12c7c0c519ec8cd165cdaff5;p=plugins%2Fnetgenplugin.git 0021411: EDF 2000 SMESH: Netgen 2D fails on shapes meshed with "composite side" in 1D - seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); + // seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index d84a1c6..06a5bc4 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -292,8 +292,8 @@ static TError addSegmentsToMesh(netgen::Mesh& ngMesh, edgeID = geom.emap.FindIndex( edge ); posID = posShapeID; isInternalWire = ( edge.Orientation() == TopAbs_INTERNAL ); - if ( onVertex ) // param on curve is different on each of two edges - seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); + // if ( onVertex ) // param on curve is different on each of two edges + // seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); } seg.epgeominfo[ iEnd ].edgenr = edgeID; // = geom.emap.FindIndex(edge); }