Salome HOME
Fix the previous "improvement"
authoreap <eap@opencascade.com>
Mon, 9 Dec 2013 13:20:04 +0000 (13:20 +0000)
committereap <eap@opencascade.com>
Mon, 9 Dec 2013 13:20:04 +0000 (13:20 +0000)
src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx

index 2a4d95d66be92fca5e08a4e267c1f4b170ab5a51..4c4fea2b3b249d4d12e2aec08662321ee120de99 100644 (file)
@@ -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();