From 5d113e75402d358c6073f567d075c64c94b27172 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 15 Feb 2006 11:01:29 +0000 Subject: [PATCH] PAL11497. Netgen doesn't need a 3D hypothesis anymore --- src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); -- 2.30.2