IPAL54426: Evaluate crashes salome
This commit is contained in:
parent
c7f8ed657c
commit
42a2e30144
@ -3419,9 +3419,8 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
|
|||||||
// Prepare OCC geometry
|
// Prepare OCC geometry
|
||||||
// -------------------------
|
// -------------------------
|
||||||
netgen::OCCGeometry occgeo;
|
netgen::OCCGeometry occgeo;
|
||||||
list< SMESH_subMesh* > meshedSM[4]; // for 0-3 dimensions
|
|
||||||
NETGENPlugin_Internals internals( *_mesh, _shape, _isVolume );
|
NETGENPlugin_Internals internals( *_mesh, _shape, _isVolume );
|
||||||
PrepareOCCgeometry( occgeo, _shape, *_mesh, meshedSM, &internals );
|
PrepareOCCgeometry( occgeo, _shape, *_mesh, 0, &internals );
|
||||||
|
|
||||||
bool tooManyElems = false;
|
bool tooManyElems = false;
|
||||||
const int hugeNb = std::numeric_limits<int>::max() / 100;
|
const int hugeNb = std::numeric_limits<int>::max() / 100;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user