From: eap Date: Wed, 15 Feb 2006 11:01:29 +0000 (+0000) Subject: PAL11497. Netgen doesn't need a 3D hypothesis anymore X-Git-Tag: T2_2_9pre X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5d113e75402d358c6073f567d075c64c94b27172;p=plugins%2Fnetgenplugin.git PAL11497. Netgen doesn't need a 3D hypothesis anymore --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 3e25994..f1e415d 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -83,6 +83,7 @@ bool NETGENPlugin_NETGEN_3D::CheckHypothesis MESSAGE("NETGENPlugin_NETGEN_3D::CheckHypothesis"); _hypMaxElementVolume = NULL; + _maxElementVolume = DBL_MAX; list::const_iterator itl; const SMESHDS_Hypothesis* theHyp; @@ -91,8 +92,9 @@ bool NETGENPlugin_NETGEN_3D::CheckHypothesis int nbHyp = hyps.size(); if (!nbHyp) { - aStatus = SMESH_Hypothesis::HYP_MISSING; - return false; // can't work with no hypothesis + aStatus = SMESH_Hypothesis::HYP_OK; + //aStatus = SMESH_Hypothesis::HYP_MISSING; + return true; // can work with no hypothesis } itl = hyps.begin();