Salome HOME
IPAL54426: Evaluate crashes salome SHAPER_V9_1_0RC1
authoreap <eap@opencascade.com>
Tue, 24 Jul 2018 15:48:37 +0000 (18:48 +0300)
committereap <eap@opencascade.com>
Tue, 24 Jul 2018 15:48:37 +0000 (18:48 +0300)
src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index f6831505b08ea28fa9e30d22c353c3add21e264b..d0979451989a9480e2e77a86e0c174b21bc2734f 100644 (file)
@@ -3419,9 +3419,8 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
   // Prepare OCC geometry
   // -------------------------
   netgen::OCCGeometry occgeo;
-  list< SMESH_subMesh* > meshedSM[4]; // for 0-3 dimensions
   NETGENPlugin_Internals internals( *_mesh, _shape, _isVolume );
-  PrepareOCCgeometry( occgeo, _shape, *_mesh, meshedSM, &internals );
+  PrepareOCCgeometry( occgeo, _shape, *_mesh, 0, &internals );
 
   bool tooManyElems = false;
   const int hugeNb = std::numeric_limits<int>::max() / 100;