Fix the previous "improvement"

This commit is contained in:
eap 2013-12-09 13:20:04 +00:00
parent a4df9c960a
commit 4a477bf85f

View 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();