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
|
else
|
||||||
{
|
{
|
||||||
// set edgeLength by a longest segment
|
// set edgeLength by a longest segment
|
||||||
double maxSeg2 = occgeo.GetBoundingBox().Diam();
|
double maxSeg2 = 0;
|
||||||
for ( int iW = 0; iW < nbWires; ++iW )
|
for ( int iW = 0; iW < nbWires; ++iW )
|
||||||
{
|
{
|
||||||
const UVPtStructVec& points = wires[ iW ]->GetUVPtStruct();
|
const UVPtStructVec& points = wires[ iW ]->GetUVPtStruct();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user