From: eap Date: Tue, 11 Oct 2005 09:14:49 +0000 (+0000) Subject: PAL9513. Make peresence of "Max Element Volume" hypothesis optional X-Git-Tag: ForTest_3_1_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6685097bb2e37f6769fa9d6110f8139d4b235ecd;p=plugins%2Fnetgenplugin.git PAL9513. Make peresence of "Max Element Volume" hypothesis optional --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 281e08e..3cf6a8d 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -79,6 +79,7 @@ bool NETGENPlugin_NETGEN_3D::CheckHypothesis MESSAGE("NETGENPlugin_NETGEN_3D::CheckHypothesis"); _hypMaxElementVolume = NULL; + _maxElementVolume = DBL_MAX; list::const_iterator itl; const SMESHDS_Hypothesis* theHyp; @@ -87,8 +88,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();