From: eap Date: Mon, 9 Dec 2013 13:20:04 +0000 (+0000) Subject: Fix the previous "improvement" X-Git-Tag: V7_3_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a477bf85f841d359e83d6e837752c10f12c48a9;p=plugins%2Fnetgenplugin.git Fix the previous "improvement" --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index 2a4d95d..4c4fea2 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -252,7 +252,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, else { // set edgeLength by a longest segment - double maxSeg2 = occgeo.GetBoundingBox().Diam(); + double maxSeg2 = 0; for ( int iW = 0; iW < nbWires; ++iW ) { const UVPtStructVec& points = wires[ iW ]->GetUVPtStruct();