Fix the previous "improvement"
This commit is contained in:
parent
a4df9c960a
commit
4a477bf85f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user