From: eap Date: Mon, 25 Jul 2011 08:25:53 +0000 (+0000) Subject: 0021334: [CEA] non regression test : meshing error X-Git-Tag: V6_4_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=64f826e87faf733a8f70eb71105e1850ef821787;p=plugins%2Fnetgenplugin.git 0021334: [CEA] non regression test : meshing error Move resizing occgeo.face_maxh back to PrepareOCCgeometry() --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 8f486e3..a7a1cb7 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -522,6 +522,8 @@ void NETGENPlugin_Mesher::PrepareOCCgeometry(netgen::OCCGeometry& occgeo, #ifdef NETGEN_NEW occgeo.face_maxh_modified.SetSize(occgeo.fmap.Extent()); occgeo.face_maxh_modified = 0; + occgeo.face_maxh.SetSize(occgeo.fmap.Extent()); + occgeo.face_maxh = netgen::mparam.maxh; #endif } @@ -1809,7 +1811,6 @@ bool NETGENPlugin_Mesher::Compute() if ( _simpleHyp || mparams.minh == 0.0 ) mparams.minh = GetDefaultMinSize( _shape, mparams.maxh ); #ifdef NETGEN_NEW - occgeo.face_maxh.SetSize(occgeo.fmap.Extent()); occgeo.face_maxh = mparams.maxh; #endif